mirror of
https://github.com/nukesor/pueue
synced 2024-10-04 14:59:23 +00:00
Remove completion files from git
This commit is contained in:
parent
e1e11fd7d4
commit
11fd859653
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -7,3 +7,5 @@
|
|||
|
||||
*_stdout*
|
||||
*_stderr*
|
||||
|
||||
/utils/completions
|
||||
|
|
20
build.rs
20
build.rs
|
@ -1,3 +1,5 @@
|
|||
use ::std::fs::create_dir_all;
|
||||
use ::std::path::Path;
|
||||
use ::structopt::clap::Shell;
|
||||
use ::version_check;
|
||||
|
||||
|
@ -12,11 +14,17 @@ fn main() {
|
|||
|
||||
let mut clap = Opt::clap();
|
||||
|
||||
let completion_dir = "./utils/completions";
|
||||
let completion_path = "./utils/completions";
|
||||
let completion_dir = Path::new(completion_path).to_path_buf();
|
||||
// Create the config dir, if it doesn't exist yet
|
||||
if !completion_dir.exists() {
|
||||
create_dir_all(&completion_dir).expect("Couldn't create .utils/completion directory");
|
||||
}
|
||||
|
||||
let bin_name = "pueue";
|
||||
clap.gen_completions(bin_name, Shell::Bash, completion_dir);
|
||||
clap.gen_completions(bin_name, Shell::Fish, completion_dir);
|
||||
clap.gen_completions(bin_name, Shell::PowerShell, completion_dir);
|
||||
clap.gen_completions(bin_name, Shell::Elvish, completion_dir);
|
||||
// clap.gen_completions(bin_name, Shell::Zsh, completion_dir);
|
||||
clap.gen_completions(bin_name, Shell::Bash, completion_path);
|
||||
clap.gen_completions(bin_name, Shell::Fish, completion_path);
|
||||
clap.gen_completions(bin_name, Shell::PowerShell, completion_path);
|
||||
clap.gen_completions(bin_name, Shell::Elvish, completion_path);
|
||||
// clap.gen_completions(bin_name, Shell::Zsh, completion_path);
|
||||
}
|
||||
|
|
|
@ -1,205 +0,0 @@
|
|||
|
||||
using namespace System.Management.Automation
|
||||
using namespace System.Management.Automation.Language
|
||||
|
||||
Register-ArgumentCompleter -Native -CommandName 'pueue' -ScriptBlock {
|
||||
param($wordToComplete, $commandAst, $cursorPosition)
|
||||
|
||||
$commandElements = $commandAst.CommandElements
|
||||
$command = @(
|
||||
'pueue'
|
||||
for ($i = 1; $i -lt $commandElements.Count; $i++) {
|
||||
$element = $commandElements[$i]
|
||||
if ($element -isnot [StringConstantExpressionAst] -or
|
||||
$element.StringConstantType -ne [StringConstantType]::BareWord -or
|
||||
$element.Value.StartsWith('-')) {
|
||||
break
|
||||
}
|
||||
$element.Value
|
||||
}) -join ';'
|
||||
|
||||
$completions = @(switch ($command) {
|
||||
'pueue' {
|
||||
[CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'The port for the daemon. Overwrites the port in the config file')
|
||||
[CompletionResult]::new('--port', 'port', [CompletionResultType]::ParameterName, 'The port for the daemon. Overwrites the port in the config file')
|
||||
[CompletionResult]::new('-v', 'v', [CompletionResultType]::ParameterName, 'Verbose mode (-v, -vv, -vvv)')
|
||||
[CompletionResult]::new('--verbose', 'verbose', [CompletionResultType]::ParameterName, 'Verbose mode (-v, -vv, -vvv)')
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('add', 'add', [CompletionResultType]::ParameterValue, 'Enqueue a task for execution')
|
||||
[CompletionResult]::new('remove', 'remove', [CompletionResultType]::ParameterValue, 'Remove tasks from the list. Running or paused tasks need to be killed first')
|
||||
[CompletionResult]::new('switch', 'switch', [CompletionResultType]::ParameterValue, 'Switches the queue position of two commands. Only works on queued and stashed commandse')
|
||||
[CompletionResult]::new('stash', 'stash', [CompletionResultType]::ParameterValue, 'Stashed tasks won''t be automatically started. Either `enqueue` them, to be normally handled or explicitly `start` them')
|
||||
[CompletionResult]::new('enqueue', 'enqueue', [CompletionResultType]::ParameterValue, 'Enqueue stashed tasks. They''ll be handled normally afterwards')
|
||||
[CompletionResult]::new('start', 'start', [CompletionResultType]::ParameterValue, 'Wake the daemon from its paused state and continue all paused tasks. Can be used to resume or start specific tasks')
|
||||
[CompletionResult]::new('restart', 'restart', [CompletionResultType]::ParameterValue, 'Enqueue tasks again')
|
||||
[CompletionResult]::new('pause', 'pause', [CompletionResultType]::ParameterValue, 'Pause the daemon and all running tasks. A paused daemon won''t start any new tasks. Daemon and tasks can be continued with `start` Can also be used to pause specific tasks')
|
||||
[CompletionResult]::new('kill', 'kill', [CompletionResultType]::ParameterValue, 'Kill either all or only specific running tasks')
|
||||
[CompletionResult]::new('send', 'send', [CompletionResultType]::ParameterValue, 'Send something to a task. Useful for sending confirmations (''y\n'')')
|
||||
[CompletionResult]::new('edit', 'edit', [CompletionResultType]::ParameterValue, 'Edit the command of a stashed or queued task')
|
||||
[CompletionResult]::new('status', 'status', [CompletionResultType]::ParameterValue, 'Display the current status of all tasks')
|
||||
[CompletionResult]::new('log', 'log', [CompletionResultType]::ParameterValue, 'Display the log output of finished tasks')
|
||||
[CompletionResult]::new('show', 'show', [CompletionResultType]::ParameterValue, 'Show the output of a currently running task This command allows following (like `tail -f`)')
|
||||
[CompletionResult]::new('clean', 'clean', [CompletionResultType]::ParameterValue, 'Remove all finished tasks from the list (also clears logs)')
|
||||
[CompletionResult]::new('reset', 'reset', [CompletionResultType]::ParameterValue, 'Kill all running tasks, remove all tasks and reset max_id')
|
||||
[CompletionResult]::new('shutdown', 'shutdown', [CompletionResultType]::ParameterValue, 'Remotely shut down the daemon. Should only be used if the daemon isn''t started by a service manager')
|
||||
[CompletionResult]::new('parallel', 'parallel', [CompletionResultType]::ParameterValue, 'Set the amount of allowed parallel tasks')
|
||||
[CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Prints this message or the help of the given subcommand(s)')
|
||||
break
|
||||
}
|
||||
'pueue;add' {
|
||||
[CompletionResult]::new('-i', 'i', [CompletionResultType]::ParameterName, 'Start the task immediately')
|
||||
[CompletionResult]::new('--immediate', 'immediate', [CompletionResultType]::ParameterName, 'Start the task immediately')
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;remove' {
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;switch' {
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;stash' {
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;enqueue' {
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;start' {
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;restart' {
|
||||
[CompletionResult]::new('-i', 'i', [CompletionResultType]::ParameterName, 'Start the task(s) immediately')
|
||||
[CompletionResult]::new('--immediate', 'immediate', [CompletionResultType]::ParameterName, 'Start the task(s) immediately')
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;pause' {
|
||||
[CompletionResult]::new('-w', 'w', [CompletionResultType]::ParameterName, 'Pause the daemon, but let any running tasks finish by themselves')
|
||||
[CompletionResult]::new('--wait', 'wait', [CompletionResultType]::ParameterName, 'Pause the daemon, but let any running tasks finish by themselves')
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;kill' {
|
||||
[CompletionResult]::new('-a', 'a', [CompletionResultType]::ParameterName, 'Kill all running tasks, this also pauses the daemon')
|
||||
[CompletionResult]::new('--all', 'all', [CompletionResultType]::ParameterName, 'Kill all running tasks, this also pauses the daemon')
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;send' {
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;edit' {
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;status' {
|
||||
[CompletionResult]::new('-j', 'j', [CompletionResultType]::ParameterName, 'Print the current state as json to stdout This doesn''t include stdout/stderr of tasks. Use `log -j` if you want everything')
|
||||
[CompletionResult]::new('--json', 'json', [CompletionResultType]::ParameterName, 'Print the current state as json to stdout This doesn''t include stdout/stderr of tasks. Use `log -j` if you want everything')
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;log' {
|
||||
[CompletionResult]::new('-j', 'j', [CompletionResultType]::ParameterName, 'Print the current state as json Includes EVERYTHING')
|
||||
[CompletionResult]::new('--json', 'json', [CompletionResultType]::ParameterName, 'Print the current state as json Includes EVERYTHING')
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;show' {
|
||||
[CompletionResult]::new('-f', 'f', [CompletionResultType]::ParameterName, 'Continuously print stdout (like `tail -f`)')
|
||||
[CompletionResult]::new('--follow', 'follow', [CompletionResultType]::ParameterName, 'Continuously print stdout (like `tail -f`)')
|
||||
[CompletionResult]::new('-e', 'e', [CompletionResultType]::ParameterName, 'Like -f, but shows stderr instead of stdeout')
|
||||
[CompletionResult]::new('--err', 'err', [CompletionResultType]::ParameterName, 'Like -f, but shows stderr instead of stdeout')
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;clean' {
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;reset' {
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;shutdown' {
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;parallel' {
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
'pueue;help' {
|
||||
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Prints help information')
|
||||
[CompletionResult]::new('-V', 'V', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
[CompletionResult]::new('--version', 'version', [CompletionResultType]::ParameterName, 'Prints version information')
|
||||
break
|
||||
}
|
||||
})
|
||||
|
||||
$completions.Where{ $_.CompletionText -like "$wordToComplete*" } |
|
||||
Sort-Object -Property ListItemText
|
||||
}
|
|
@ -1,391 +0,0 @@
|
|||
_pueue() {
|
||||
local i cur prev opts cmds
|
||||
COMPREPLY=()
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
cmd=""
|
||||
opts=""
|
||||
|
||||
for i in ${COMP_WORDS[@]}
|
||||
do
|
||||
case "${i}" in
|
||||
pueue)
|
||||
cmd="pueue"
|
||||
;;
|
||||
|
||||
add)
|
||||
cmd+="__add"
|
||||
;;
|
||||
clean)
|
||||
cmd+="__clean"
|
||||
;;
|
||||
edit)
|
||||
cmd+="__edit"
|
||||
;;
|
||||
enqueue)
|
||||
cmd+="__enqueue"
|
||||
;;
|
||||
help)
|
||||
cmd+="__help"
|
||||
;;
|
||||
kill)
|
||||
cmd+="__kill"
|
||||
;;
|
||||
log)
|
||||
cmd+="__log"
|
||||
;;
|
||||
parallel)
|
||||
cmd+="__parallel"
|
||||
;;
|
||||
pause)
|
||||
cmd+="__pause"
|
||||
;;
|
||||
remove)
|
||||
cmd+="__remove"
|
||||
;;
|
||||
reset)
|
||||
cmd+="__reset"
|
||||
;;
|
||||
restart)
|
||||
cmd+="__restart"
|
||||
;;
|
||||
send)
|
||||
cmd+="__send"
|
||||
;;
|
||||
show)
|
||||
cmd+="__show"
|
||||
;;
|
||||
shutdown)
|
||||
cmd+="__shutdown"
|
||||
;;
|
||||
start)
|
||||
cmd+="__start"
|
||||
;;
|
||||
stash)
|
||||
cmd+="__stash"
|
||||
;;
|
||||
status)
|
||||
cmd+="__status"
|
||||
;;
|
||||
switch)
|
||||
cmd+="__switch"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
case "${cmd}" in
|
||||
pueue)
|
||||
opts=" -v -h -V -p --verbose --help --version --port add remove switch stash enqueue start restart pause kill send edit status log show clean reset shutdown parallel help"
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
--port)
|
||||
COMPREPLY=($(compgen -f "${cur}"))
|
||||
return 0
|
||||
;;
|
||||
-p)
|
||||
COMPREPLY=($(compgen -f "${cur}"))
|
||||
return 0
|
||||
;;
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
|
||||
pueue__add)
|
||||
opts=" -i -h -V --immediate --help --version <command>... "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__clean)
|
||||
opts=" -h -V --help --version "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__edit)
|
||||
opts=" -h -V --help --version <task-id> "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__enqueue)
|
||||
opts=" -h -V --help --version <task-ids>... "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__help)
|
||||
opts=" -h -V --help --version "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__kill)
|
||||
opts=" -a -h -V --all --help --version <task-ids>... "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__log)
|
||||
opts=" -j -h -V --json --help --version <task-ids>... "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__parallel)
|
||||
opts=" -h -V --help --version <parallel-tasks> "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__pause)
|
||||
opts=" -w -h -V --wait --help --version <task-ids>... "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__remove)
|
||||
opts=" -h -V --help --version <task-ids>... "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__reset)
|
||||
opts=" -h -V --help --version "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__restart)
|
||||
opts=" -i -h -V --immediate --help --version <task-ids>... "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__send)
|
||||
opts=" -h -V --help --version <task-id> <input> "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__show)
|
||||
opts=" -f -e -h -V --follow --err --help --version <task-id> "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__shutdown)
|
||||
opts=" -h -V --help --version "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__start)
|
||||
opts=" -h -V --help --version <task-ids>... "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__stash)
|
||||
opts=" -h -V --help --version <task-ids>... "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__status)
|
||||
opts=" -j -h -V --json --help --version "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
pueue__switch)
|
||||
opts=" -h -V --help --version <task-id-1> <task-id-2> "
|
||||
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
fi
|
||||
case "${prev}" in
|
||||
|
||||
*)
|
||||
COMPREPLY=()
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
complete -F _pueue -o bashdefault -o default pueue
|
|
@ -1,178 +0,0 @@
|
|||
|
||||
edit:completion:arg-completer[pueue] = [@words]{
|
||||
fn spaces [n]{
|
||||
repeat $n ' ' | joins ''
|
||||
}
|
||||
fn cand [text desc]{
|
||||
edit:complex-candidate $text &display-suffix=' '(spaces (- 14 (wcswidth $text)))$desc
|
||||
}
|
||||
command = 'pueue'
|
||||
for word $words[1:-1] {
|
||||
if (has-prefix $word '-') {
|
||||
break
|
||||
}
|
||||
command = $command';'$word
|
||||
}
|
||||
completions = [
|
||||
&'pueue'= {
|
||||
cand -p 'The port for the daemon. Overwrites the port in the config file'
|
||||
cand --port 'The port for the daemon. Overwrites the port in the config file'
|
||||
cand -v 'Verbose mode (-v, -vv, -vvv)'
|
||||
cand --verbose 'Verbose mode (-v, -vv, -vvv)'
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
cand add 'Enqueue a task for execution'
|
||||
cand remove 'Remove tasks from the list. Running or paused tasks need to be killed first'
|
||||
cand switch 'Switches the queue position of two commands. Only works on queued and stashed commandse'
|
||||
cand stash 'Stashed tasks won''t be automatically started. Either `enqueue` them, to be normally handled or explicitly `start` them'
|
||||
cand enqueue 'Enqueue stashed tasks. They''ll be handled normally afterwards'
|
||||
cand start 'Wake the daemon from its paused state and continue all paused tasks. Can be used to resume or start specific tasks'
|
||||
cand restart 'Enqueue tasks again'
|
||||
cand pause 'Pause the daemon and all running tasks. A paused daemon won''t start any new tasks. Daemon and tasks can be continued with `start` Can also be used to pause specific tasks'
|
||||
cand kill 'Kill either all or only specific running tasks'
|
||||
cand send 'Send something to a task. Useful for sending confirmations (''y\n'')'
|
||||
cand edit 'Edit the command of a stashed or queued task'
|
||||
cand status 'Display the current status of all tasks'
|
||||
cand log 'Display the log output of finished tasks'
|
||||
cand show 'Show the output of a currently running task This command allows following (like `tail -f`)'
|
||||
cand clean 'Remove all finished tasks from the list (also clears logs)'
|
||||
cand reset 'Kill all running tasks, remove all tasks and reset max_id'
|
||||
cand shutdown 'Remotely shut down the daemon. Should only be used if the daemon isn''t started by a service manager'
|
||||
cand parallel 'Set the amount of allowed parallel tasks'
|
||||
cand help 'Prints this message or the help of the given subcommand(s)'
|
||||
}
|
||||
&'pueue;add'= {
|
||||
cand -i 'Start the task immediately'
|
||||
cand --immediate 'Start the task immediately'
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;remove'= {
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;switch'= {
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;stash'= {
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;enqueue'= {
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;start'= {
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;restart'= {
|
||||
cand -i 'Start the task(s) immediately'
|
||||
cand --immediate 'Start the task(s) immediately'
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;pause'= {
|
||||
cand -w 'Pause the daemon, but let any running tasks finish by themselves'
|
||||
cand --wait 'Pause the daemon, but let any running tasks finish by themselves'
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;kill'= {
|
||||
cand -a 'Kill all running tasks, this also pauses the daemon'
|
||||
cand --all 'Kill all running tasks, this also pauses the daemon'
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;send'= {
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;edit'= {
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;status'= {
|
||||
cand -j 'Print the current state as json to stdout This doesn''t include stdout/stderr of tasks. Use `log -j` if you want everything'
|
||||
cand --json 'Print the current state as json to stdout This doesn''t include stdout/stderr of tasks. Use `log -j` if you want everything'
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;log'= {
|
||||
cand -j 'Print the current state as json Includes EVERYTHING'
|
||||
cand --json 'Print the current state as json Includes EVERYTHING'
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;show'= {
|
||||
cand -f 'Continuously print stdout (like `tail -f`)'
|
||||
cand --follow 'Continuously print stdout (like `tail -f`)'
|
||||
cand -e 'Like -f, but shows stderr instead of stdeout'
|
||||
cand --err 'Like -f, but shows stderr instead of stdeout'
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;clean'= {
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;reset'= {
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;shutdown'= {
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;parallel'= {
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
&'pueue;help'= {
|
||||
cand -h 'Prints help information'
|
||||
cand --help 'Prints help information'
|
||||
cand -V 'Prints version information'
|
||||
cand --version 'Prints version information'
|
||||
}
|
||||
]
|
||||
$completions[$command]
|
||||
}
|
|
@ -1,69 +0,0 @@
|
|||
complete -c pueue -n "__fish_use_subcommand" -s p -l port -d 'The port for the daemon. Overwrites the port in the config file'
|
||||
complete -c pueue -n "__fish_use_subcommand" -s v -l verbose -d 'Verbose mode (-v, -vv, -vvv)'
|
||||
complete -c pueue -n "__fish_use_subcommand" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_use_subcommand" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "add" -d 'Enqueue a task for execution'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "remove" -d 'Remove tasks from the list. Running or paused tasks need to be killed first'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "switch" -d 'Switches the queue position of two commands. Only works on queued and stashed commandse'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "stash" -d 'Stashed tasks won\'t be automatically started. Either `enqueue` them, to be normally handled or explicitly `start` them'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "enqueue" -d 'Enqueue stashed tasks. They\'ll be handled normally afterwards'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "start" -d 'Wake the daemon from its paused state and continue all paused tasks. Can be used to resume or start specific tasks'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "restart" -d 'Enqueue tasks again'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "pause" -d 'Pause the daemon and all running tasks. A paused daemon won\'t start any new tasks. Daemon and tasks can be continued with `start` Can also be used to pause specific tasks'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "kill" -d 'Kill either all or only specific running tasks'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "send" -d 'Send something to a task. Useful for sending confirmations (\'y\\n\')'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "edit" -d 'Edit the command of a stashed or queued task'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "status" -d 'Display the current status of all tasks'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "log" -d 'Display the log output of finished tasks'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "show" -d 'Show the output of a currently running task This command allows following (like `tail -f`)'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "clean" -d 'Remove all finished tasks from the list (also clears logs)'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "reset" -d 'Kill all running tasks, remove all tasks and reset max_id'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "shutdown" -d 'Remotely shut down the daemon. Should only be used if the daemon isn\'t started by a service manager'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "parallel" -d 'Set the amount of allowed parallel tasks'
|
||||
complete -c pueue -n "__fish_use_subcommand" -f -a "help" -d 'Prints this message or the help of the given subcommand(s)'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from add" -s i -l immediate -d 'Start the task immediately'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from add" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from add" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from remove" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from remove" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from switch" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from switch" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from stash" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from stash" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from enqueue" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from enqueue" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from start" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from start" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from restart" -s i -l immediate -d 'Start the task(s) immediately'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from restart" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from restart" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from pause" -s w -l wait -d 'Pause the daemon, but let any running tasks finish by themselves'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from pause" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from pause" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from kill" -s a -l all -d 'Kill all running tasks, this also pauses the daemon'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from kill" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from kill" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from send" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from send" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from edit" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from edit" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from status" -s j -l json -d 'Print the current state as json to stdout This doesn\'t include stdout/stderr of tasks. Use `log -j` if you want everything'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from status" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from status" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from log" -s j -l json -d 'Print the current state as json Includes EVERYTHING'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from log" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from log" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from show" -s f -l follow -d 'Continuously print stdout (like `tail -f`)'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from show" -s e -l err -d 'Like -f, but shows stderr instead of stdeout'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from show" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from show" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from clean" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from clean" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from reset" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from reset" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from shutdown" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from shutdown" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from parallel" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from parallel" -s V -l version -d 'Prints version information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from help" -s h -l help -d 'Prints help information'
|
||||
complete -c pueue -n "__fish_seen_subcommand_from help" -s V -l version -d 'Prints version information'
|
Loading…
Reference in a new issue