Load enabled services from machine config
This commit is contained in:
parent
e25c00cd39
commit
7248ec703a
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ begin
|
||||||
source "$dir/../../../lib/settings.fish"
|
source "$dir/../../../lib/settings.fish"
|
||||||
set -la argv $args
|
set -la argv $args
|
||||||
argparse -i "name=" "user=" -- $argv
|
argparse -i "name=" "user=" -- $argv
|
||||||
set -l services (getProgramConfig --name "$_flag_name" --user "$_flag_user" --json | jq '.services')
|
set -l services (getProgramConfig --name "$_flag_name" --json | jq '.services')
|
||||||
|
|
||||||
for service in (echo "$services" | jq '. | keys[]' --raw-output0 | string split0)
|
for service in (echo "$services" | jq '. | keys[]' --raw-output0 | string split0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue