# Avoid running bearer-gen to make the initialization faster.
mkdir -p /tmp/.antidote-complete-tmpdir ; and echo '#!/bin/bash' > /tmp/.antidote-complete-tmpdir/bearer-gen ; and chmod +x /tmp/.antidote-complete-tmpdir/bearer-gen
set -l commands_and_desc (env PATH="/tmp/.antidote-complete-tmpdir:$PATH" antidote-cis 2>&1 | grep "The '.*' subcommand" | sed "s/^[^']*'//g" | sed "s/' subcommand /|/g")
...
...
@@ -13,18 +35,24 @@ for entry in $commands_and_desc
complete -c antidote-cis -n "__fish_seen_subcommand_from release setdef cloudrun; and test (__antidote_count_cmdline_args) = 4" -a "(__antidote_complete_list_ver)"
complete -c antidote-cis -n "__fish_seen_subcommand_from cloudrun; and test (__antidote_count_cmdline_args) -gt 4" -a "(__antidote_complete_list_wfargs)"
complete -c antidote-cis --force-files -n "__fish_seen_subcommand_from jobtype-upload; and test (__antidote_count_cmdline_args) = 3"
complete -c antidote-cis -n "__fish_seen_subcommand_from jobtype-upload; and test (__antidote_count_cmdline_args) = 3" --force-files
complete -c antidote-cis -n "__fish_seen_subcommand_from jobstatus; and test (__antidote_count_cmdline_args) = 3" -a "(__antidote_complete_list_jobid)"