From 7b382b19efdf52480f7ccab58355847d1f609792 Mon Sep 17 00:00:00 2001 From: Jay Hesselberth Date: Sat, 29 Aug 2026 13:46:29 -0600 Subject: [PATCH] chore(completions): regenerate for the worktree hook verbs The completions are generated by the binary and committed; #35 added the worktree-create and worktree-remove hook verbs without refreshing them, which make install then did on the next run. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01MuezDnJq5Qh34SoGGAgzZU --- completions/sinteractive.bash | 252 +++++++++++++++++++++++++++++++++- completions/sinteractive.fish | 18 ++- completions/sinteractive.zsh | 148 ++++++++++++++++++++ 3 files changed, 407 insertions(+), 11 deletions(-) diff --git a/completions/sinteractive.bash b/completions/sinteractive.bash index 4a0abe9..29e242b 100644 --- a/completions/sinteractive.bash +++ b/completions/sinteractive.bash @@ -148,6 +148,12 @@ _sinteractive() { sinteractive__subcmd__claude__subcmd__help__subcmd__hook,session-start) cmd="sinteractive__subcmd__claude__subcmd__help__subcmd__hook__subcmd__session__subcmd__start" ;; + sinteractive__subcmd__claude__subcmd__help__subcmd__hook,worktree-create) + cmd="sinteractive__subcmd__claude__subcmd__help__subcmd__hook__subcmd__worktree__subcmd__create" + ;; + sinteractive__subcmd__claude__subcmd__help__subcmd__hook,worktree-remove) + cmd="sinteractive__subcmd__claude__subcmd__help__subcmd__hook__subcmd__worktree__subcmd__remove" + ;; sinteractive__subcmd__claude__subcmd__hook,help) cmd="sinteractive__subcmd__claude__subcmd__hook__subcmd__help" ;; @@ -157,6 +163,12 @@ _sinteractive() { sinteractive__subcmd__claude__subcmd__hook,session-start) cmd="sinteractive__subcmd__claude__subcmd__hook__subcmd__session__subcmd__start" ;; + sinteractive__subcmd__claude__subcmd__hook,worktree-create) + cmd="sinteractive__subcmd__claude__subcmd__hook__subcmd__worktree__subcmd__create" + ;; + sinteractive__subcmd__claude__subcmd__hook,worktree-remove) + cmd="sinteractive__subcmd__claude__subcmd__hook__subcmd__worktree__subcmd__remove" + ;; sinteractive__subcmd__claude__subcmd__hook__subcmd__help,help) cmd="sinteractive__subcmd__claude__subcmd__hook__subcmd__help__subcmd__help" ;; @@ -166,6 +178,12 @@ _sinteractive() { sinteractive__subcmd__claude__subcmd__hook__subcmd__help,session-start) cmd="sinteractive__subcmd__claude__subcmd__hook__subcmd__help__subcmd__session__subcmd__start" ;; + sinteractive__subcmd__claude__subcmd__hook__subcmd__help,worktree-create) + cmd="sinteractive__subcmd__claude__subcmd__hook__subcmd__help__subcmd__worktree__subcmd__create" + ;; + sinteractive__subcmd__claude__subcmd__hook__subcmd__help,worktree-remove) + cmd="sinteractive__subcmd__claude__subcmd__hook__subcmd__help__subcmd__worktree__subcmd__remove" + ;; sinteractive__subcmd__gen,completions) cmd="sinteractive__subcmd__gen__subcmd__completions" ;; @@ -301,6 +319,12 @@ _sinteractive() { sinteractive__subcmd__help__subcmd__claude__subcmd__hook,session-start) cmd="sinteractive__subcmd__help__subcmd__claude__subcmd__hook__subcmd__session__subcmd__start" ;; + sinteractive__subcmd__help__subcmd__claude__subcmd__hook,worktree-create) + cmd="sinteractive__subcmd__help__subcmd__claude__subcmd__hook__subcmd__worktree__subcmd__create" + ;; + sinteractive__subcmd__help__subcmd__claude__subcmd__hook,worktree-remove) + cmd="sinteractive__subcmd__help__subcmd__claude__subcmd__hook__subcmd__worktree__subcmd__remove" + ;; sinteractive__subcmd__help__subcmd__gen,completions) cmd="sinteractive__subcmd__help__subcmd__gen__subcmd__completions" ;; @@ -316,6 +340,12 @@ _sinteractive() { sinteractive__subcmd__help__subcmd__hook,session-start) cmd="sinteractive__subcmd__help__subcmd__hook__subcmd__session__subcmd__start" ;; + sinteractive__subcmd__help__subcmd__hook,worktree-create) + cmd="sinteractive__subcmd__help__subcmd__hook__subcmd__worktree__subcmd__create" + ;; + sinteractive__subcmd__help__subcmd__hook,worktree-remove) + cmd="sinteractive__subcmd__help__subcmd__hook__subcmd__worktree__subcmd__remove" + ;; sinteractive__subcmd__help__subcmd__session,ensure) cmd="sinteractive__subcmd__help__subcmd__session__subcmd__ensure" ;; @@ -337,6 +367,12 @@ _sinteractive() { sinteractive__subcmd__hook,session-start) cmd="sinteractive__subcmd__hook__subcmd__session__subcmd__start" ;; + sinteractive__subcmd__hook,worktree-create) + cmd="sinteractive__subcmd__hook__subcmd__worktree__subcmd__create" + ;; + sinteractive__subcmd__hook,worktree-remove) + cmd="sinteractive__subcmd__hook__subcmd__worktree__subcmd__remove" + ;; sinteractive__subcmd__hook__subcmd__help,help) cmd="sinteractive__subcmd__hook__subcmd__help__subcmd__help" ;; @@ -346,6 +382,12 @@ _sinteractive() { sinteractive__subcmd__hook__subcmd__help,session-start) cmd="sinteractive__subcmd__hook__subcmd__help__subcmd__session__subcmd__start" ;; + sinteractive__subcmd__hook__subcmd__help,worktree-create) + cmd="sinteractive__subcmd__hook__subcmd__help__subcmd__worktree__subcmd__create" + ;; + sinteractive__subcmd__hook__subcmd__help,worktree-remove) + cmd="sinteractive__subcmd__hook__subcmd__help__subcmd__worktree__subcmd__remove" + ;; sinteractive__subcmd__session,ensure) cmd="sinteractive__subcmd__session__subcmd__ensure" ;; @@ -627,7 +669,7 @@ _sinteractive() { return 0 ;; sinteractive__subcmd__claude__subcmd__help__subcmd__hook) - opts="session-start prompt" + opts="session-start prompt worktree-create worktree-remove" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -668,6 +710,34 @@ _sinteractive() { COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; + sinteractive__subcmd__claude__subcmd__help__subcmd__hook__subcmd__worktree__subcmd__create) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + sinteractive__subcmd__claude__subcmd__help__subcmd__hook__subcmd__worktree__subcmd__remove) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; sinteractive__subcmd__claude__subcmd__help__subcmd__install) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then @@ -711,7 +781,7 @@ _sinteractive() { return 0 ;; sinteractive__subcmd__claude__subcmd__hook) - opts="-h --help session-start prompt help" + opts="-h --help session-start prompt worktree-create worktree-remove help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -725,7 +795,7 @@ _sinteractive() { return 0 ;; sinteractive__subcmd__claude__subcmd__hook__subcmd__help) - opts="session-start prompt help" + opts="session-start prompt worktree-create worktree-remove help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -780,6 +850,34 @@ _sinteractive() { COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; + sinteractive__subcmd__claude__subcmd__hook__subcmd__help__subcmd__worktree__subcmd__create) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + sinteractive__subcmd__claude__subcmd__hook__subcmd__help__subcmd__worktree__subcmd__remove) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; sinteractive__subcmd__claude__subcmd__hook__subcmd__prompt) opts="-h --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then @@ -808,6 +906,34 @@ _sinteractive() { COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; + sinteractive__subcmd__claude__subcmd__hook__subcmd__worktree__subcmd__create) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + sinteractive__subcmd__claude__subcmd__hook__subcmd__worktree__subcmd__remove) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; sinteractive__subcmd__claude__subcmd__install) opts="-h --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then @@ -1207,7 +1333,7 @@ _sinteractive() { return 0 ;; sinteractive__subcmd__help__subcmd__claude__subcmd__hook) - opts="session-start prompt" + opts="session-start prompt worktree-create worktree-remove" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -1248,6 +1374,34 @@ _sinteractive() { COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; + sinteractive__subcmd__help__subcmd__claude__subcmd__hook__subcmd__worktree__subcmd__create) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + sinteractive__subcmd__help__subcmd__claude__subcmd__hook__subcmd__worktree__subcmd__remove) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; sinteractive__subcmd__help__subcmd__claude__subcmd__install) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then @@ -1417,7 +1571,7 @@ _sinteractive() { return 0 ;; sinteractive__subcmd__help__subcmd__hook) - opts="session-start prompt" + opts="session-start prompt worktree-create worktree-remove" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -1458,6 +1612,34 @@ _sinteractive() { COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; + sinteractive__subcmd__help__subcmd__hook__subcmd__worktree__subcmd__create) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + sinteractive__subcmd__help__subcmd__hook__subcmd__worktree__subcmd__remove) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; sinteractive__subcmd__help__subcmd__install__subcmd__claude) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then @@ -1739,7 +1921,7 @@ _sinteractive() { return 0 ;; sinteractive__subcmd__hook) - opts="-h --help session-start prompt help" + opts="-h --help session-start prompt worktree-create worktree-remove help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -1753,7 +1935,7 @@ _sinteractive() { return 0 ;; sinteractive__subcmd__hook__subcmd__help) - opts="session-start prompt help" + opts="session-start prompt worktree-create worktree-remove help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -1808,6 +1990,34 @@ _sinteractive() { COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; + sinteractive__subcmd__hook__subcmd__help__subcmd__worktree__subcmd__create) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + sinteractive__subcmd__hook__subcmd__help__subcmd__worktree__subcmd__remove) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; sinteractive__subcmd__hook__subcmd__prompt) opts="-h --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then @@ -1836,6 +2046,34 @@ _sinteractive() { COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; + sinteractive__subcmd__hook__subcmd__worktree__subcmd__create) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + sinteractive__subcmd__hook__subcmd__worktree__subcmd__remove) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; sinteractive__subcmd__install__subcmd__claude) opts="-h --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then diff --git a/completions/sinteractive.fish b/completions/sinteractive.fish index 5164f47..ba3c7b5 100644 --- a/completions/sinteractive.fish +++ b/completions/sinteractive.fish @@ -150,6 +150,8 @@ complete -c sinteractive -n "__fish_sinteractive_using_subcommand claude; and __ complete -c sinteractive -n "__fish_sinteractive_using_subcommand claude; and __fish_seen_subcommand_from hook" -s h -l help -d 'Print help' complete -c sinteractive -n "__fish_sinteractive_using_subcommand claude; and __fish_seen_subcommand_from hook" -f -a "session-start" -d 'SessionStart: print the agent briefing' complete -c sinteractive -n "__fish_sinteractive_using_subcommand claude; and __fish_seen_subcommand_from hook" -f -a "prompt" -d 'UserPromptSubmit: warn when walltime is short' +complete -c sinteractive -n "__fish_sinteractive_using_subcommand claude; and __fish_seen_subcommand_from hook" -f -a "worktree-create" -d 'WorktreeCreate: make the worktree on the cluster\'s scratch filesystem' +complete -c sinteractive -n "__fish_sinteractive_using_subcommand claude; and __fish_seen_subcommand_from hook" -f -a "worktree-remove" -d 'WorktreeRemove: remove a worktree the create hook made' complete -c sinteractive -n "__fish_sinteractive_using_subcommand claude; and __fish_seen_subcommand_from hook" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' complete -c sinteractive -n "__fish_sinteractive_using_subcommand claude; and __fish_seen_subcommand_from statusline" -s h -l help -d 'Print help' complete -c sinteractive -n "__fish_sinteractive_using_subcommand claude; and __fish_seen_subcommand_from mcp" -s h -l help -d 'Print help' @@ -195,14 +197,20 @@ complete -c sinteractive -n "__fish_sinteractive_using_subcommand snapshot" -l j complete -c sinteractive -n "__fish_sinteractive_using_subcommand snapshot" -l json -d 'Machine-readable JSON output' complete -c sinteractive -n "__fish_sinteractive_using_subcommand snapshot" -s h -l help -d 'Print help' complete -c sinteractive -n "__fish_sinteractive_using_subcommand agent-context" -s h -l help -d 'Print help' -complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and not __fish_seen_subcommand_from session-start prompt help" -s h -l help -d 'Print help' -complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and not __fish_seen_subcommand_from session-start prompt help" -f -a "session-start" -d 'SessionStart: print the agent briefing' -complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and not __fish_seen_subcommand_from session-start prompt help" -f -a "prompt" -d 'UserPromptSubmit: warn when walltime is short' -complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and not __fish_seen_subcommand_from session-start prompt help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and not __fish_seen_subcommand_from session-start prompt worktree-create worktree-remove help" -s h -l help -d 'Print help' +complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and not __fish_seen_subcommand_from session-start prompt worktree-create worktree-remove help" -f -a "session-start" -d 'SessionStart: print the agent briefing' +complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and not __fish_seen_subcommand_from session-start prompt worktree-create worktree-remove help" -f -a "prompt" -d 'UserPromptSubmit: warn when walltime is short' +complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and not __fish_seen_subcommand_from session-start prompt worktree-create worktree-remove help" -f -a "worktree-create" -d 'WorktreeCreate: make the worktree on the cluster\'s scratch filesystem' +complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and not __fish_seen_subcommand_from session-start prompt worktree-create worktree-remove help" -f -a "worktree-remove" -d 'WorktreeRemove: remove a worktree the create hook made' +complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and not __fish_seen_subcommand_from session-start prompt worktree-create worktree-remove help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and __fish_seen_subcommand_from session-start" -s h -l help -d 'Print help' complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and __fish_seen_subcommand_from prompt" -s h -l help -d 'Print help' +complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and __fish_seen_subcommand_from worktree-create" -s h -l help -d 'Print help' +complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and __fish_seen_subcommand_from worktree-remove" -s h -l help -d 'Print help' complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and __fish_seen_subcommand_from help" -f -a "session-start" -d 'SessionStart: print the agent briefing' complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and __fish_seen_subcommand_from help" -f -a "prompt" -d 'UserPromptSubmit: warn when walltime is short' +complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and __fish_seen_subcommand_from help" -f -a "worktree-create" -d 'WorktreeCreate: make the worktree on the cluster\'s scratch filesystem' +complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and __fish_seen_subcommand_from help" -f -a "worktree-remove" -d 'WorktreeRemove: remove a worktree the create hook made' complete -c sinteractive -n "__fish_sinteractive_using_subcommand hook; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' complete -c sinteractive -n "__fish_sinteractive_using_subcommand statusline" -s h -l help -d 'Print help' complete -c sinteractive -n "__fish_sinteractive_using_subcommand mcp" -s h -l help -d 'Print help' @@ -260,3 +268,5 @@ complete -c sinteractive -n "__fish_sinteractive_using_subcommand help; and __fi complete -c sinteractive -n "__fish_sinteractive_using_subcommand help; and __fish_seen_subcommand_from gen" -f -a "schema" -d 'The JSON schemas of the machine-readable outputs' complete -c sinteractive -n "__fish_sinteractive_using_subcommand help; and __fish_seen_subcommand_from hook" -f -a "session-start" -d 'SessionStart: print the agent briefing' complete -c sinteractive -n "__fish_sinteractive_using_subcommand help; and __fish_seen_subcommand_from hook" -f -a "prompt" -d 'UserPromptSubmit: warn when walltime is short' +complete -c sinteractive -n "__fish_sinteractive_using_subcommand help; and __fish_seen_subcommand_from hook" -f -a "worktree-create" -d 'WorktreeCreate: make the worktree on the cluster\'s scratch filesystem' +complete -c sinteractive -n "__fish_sinteractive_using_subcommand help; and __fish_seen_subcommand_from hook" -f -a "worktree-remove" -d 'WorktreeRemove: remove a worktree the create hook made' diff --git a/completions/sinteractive.zsh b/completions/sinteractive.zsh index aeecfc4..38e92fb 100644 --- a/completions/sinteractive.zsh +++ b/completions/sinteractive.zsh @@ -297,6 +297,18 @@ _arguments "${_arguments_options[@]}" : \ '--help[Print help]' \ && ret=0 ;; +(worktree-create) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(worktree-remove) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; (help) _arguments "${_arguments_options[@]}" : \ ":: :_sinteractive__subcmd__claude__subcmd__hook__subcmd__help_commands" \ @@ -317,6 +329,14 @@ _arguments "${_arguments_options[@]}" : \ _arguments "${_arguments_options[@]}" : \ && ret=0 ;; +(worktree-create) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(worktree-remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; (help) _arguments "${_arguments_options[@]}" : \ && ret=0 @@ -380,6 +400,14 @@ _arguments "${_arguments_options[@]}" : \ (prompt) _arguments "${_arguments_options[@]}" : \ && ret=0 +;; +(worktree-create) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(worktree-remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 ;; esac ;; @@ -571,6 +599,18 @@ _arguments "${_arguments_options[@]}" : \ '--help[Print help]' \ && ret=0 ;; +(worktree-create) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(worktree-remove) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; (help) _arguments "${_arguments_options[@]}" : \ ":: :_sinteractive__subcmd__hook__subcmd__help_commands" \ @@ -591,6 +631,14 @@ _arguments "${_arguments_options[@]}" : \ _arguments "${_arguments_options[@]}" : \ && ret=0 ;; +(worktree-create) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(worktree-remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; (help) _arguments "${_arguments_options[@]}" : \ && ret=0 @@ -783,6 +831,14 @@ _arguments "${_arguments_options[@]}" : \ (prompt) _arguments "${_arguments_options[@]}" : \ && ret=0 +;; +(worktree-create) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(worktree-remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 ;; esac ;; @@ -875,6 +931,14 @@ _arguments "${_arguments_options[@]}" : \ (prompt) _arguments "${_arguments_options[@]}" : \ && ret=0 +;; +(worktree-create) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(worktree-remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 ;; esac ;; @@ -1039,6 +1103,8 @@ _sinteractive__subcmd__claude__subcmd__help__subcmd__hook_commands() { local commands; commands=( 'session-start:SessionStart\: print the agent briefing' \ 'prompt:UserPromptSubmit\: warn when walltime is short' \ +'worktree-create:WorktreeCreate\: make the worktree on the cluster'\''s scratch filesystem' \ +'worktree-remove:WorktreeRemove\: remove a worktree the create hook made' \ ) _describe -t commands 'sinteractive claude help hook commands' commands "$@" } @@ -1052,6 +1118,16 @@ _sinteractive__subcmd__claude__subcmd__help__subcmd__hook__subcmd__session-start local commands; commands=() _describe -t commands 'sinteractive claude help hook session-start commands' commands "$@" } +(( $+functions[_sinteractive__subcmd__claude__subcmd__help__subcmd__hook__subcmd__worktree-create_commands] )) || +_sinteractive__subcmd__claude__subcmd__help__subcmd__hook__subcmd__worktree-create_commands() { + local commands; commands=() + _describe -t commands 'sinteractive claude help hook worktree-create commands' commands "$@" +} +(( $+functions[_sinteractive__subcmd__claude__subcmd__help__subcmd__hook__subcmd__worktree-remove_commands] )) || +_sinteractive__subcmd__claude__subcmd__help__subcmd__hook__subcmd__worktree-remove_commands() { + local commands; commands=() + _describe -t commands 'sinteractive claude help hook worktree-remove commands' commands "$@" +} (( $+functions[_sinteractive__subcmd__claude__subcmd__help__subcmd__install_commands] )) || _sinteractive__subcmd__claude__subcmd__help__subcmd__install_commands() { local commands; commands=() @@ -1072,6 +1148,8 @@ _sinteractive__subcmd__claude__subcmd__hook_commands() { local commands; commands=( 'session-start:SessionStart\: print the agent briefing' \ 'prompt:UserPromptSubmit\: warn when walltime is short' \ +'worktree-create:WorktreeCreate\: make the worktree on the cluster'\''s scratch filesystem' \ +'worktree-remove:WorktreeRemove\: remove a worktree the create hook made' \ 'help:Print this message or the help of the given subcommand(s)' \ ) _describe -t commands 'sinteractive claude hook commands' commands "$@" @@ -1081,6 +1159,8 @@ _sinteractive__subcmd__claude__subcmd__hook__subcmd__help_commands() { local commands; commands=( 'session-start:SessionStart\: print the agent briefing' \ 'prompt:UserPromptSubmit\: warn when walltime is short' \ +'worktree-create:WorktreeCreate\: make the worktree on the cluster'\''s scratch filesystem' \ +'worktree-remove:WorktreeRemove\: remove a worktree the create hook made' \ 'help:Print this message or the help of the given subcommand(s)' \ ) _describe -t commands 'sinteractive claude hook help commands' commands "$@" @@ -1100,6 +1180,16 @@ _sinteractive__subcmd__claude__subcmd__hook__subcmd__help__subcmd__session-start local commands; commands=() _describe -t commands 'sinteractive claude hook help session-start commands' commands "$@" } +(( $+functions[_sinteractive__subcmd__claude__subcmd__hook__subcmd__help__subcmd__worktree-create_commands] )) || +_sinteractive__subcmd__claude__subcmd__hook__subcmd__help__subcmd__worktree-create_commands() { + local commands; commands=() + _describe -t commands 'sinteractive claude hook help worktree-create commands' commands "$@" +} +(( $+functions[_sinteractive__subcmd__claude__subcmd__hook__subcmd__help__subcmd__worktree-remove_commands] )) || +_sinteractive__subcmd__claude__subcmd__hook__subcmd__help__subcmd__worktree-remove_commands() { + local commands; commands=() + _describe -t commands 'sinteractive claude hook help worktree-remove commands' commands "$@" +} (( $+functions[_sinteractive__subcmd__claude__subcmd__hook__subcmd__prompt_commands] )) || _sinteractive__subcmd__claude__subcmd__hook__subcmd__prompt_commands() { local commands; commands=() @@ -1110,6 +1200,16 @@ _sinteractive__subcmd__claude__subcmd__hook__subcmd__session-start_commands() { local commands; commands=() _describe -t commands 'sinteractive claude hook session-start commands' commands "$@" } +(( $+functions[_sinteractive__subcmd__claude__subcmd__hook__subcmd__worktree-create_commands] )) || +_sinteractive__subcmd__claude__subcmd__hook__subcmd__worktree-create_commands() { + local commands; commands=() + _describe -t commands 'sinteractive claude hook worktree-create commands' commands "$@" +} +(( $+functions[_sinteractive__subcmd__claude__subcmd__hook__subcmd__worktree-remove_commands] )) || +_sinteractive__subcmd__claude__subcmd__hook__subcmd__worktree-remove_commands() { + local commands; commands=() + _describe -t commands 'sinteractive claude hook worktree-remove commands' commands "$@" +} (( $+functions[_sinteractive__subcmd__claude__subcmd__install_commands] )) || _sinteractive__subcmd__claude__subcmd__install_commands() { local commands; commands=() @@ -1287,6 +1387,8 @@ _sinteractive__subcmd__help__subcmd__claude__subcmd__hook_commands() { local commands; commands=( 'session-start:SessionStart\: print the agent briefing' \ 'prompt:UserPromptSubmit\: warn when walltime is short' \ +'worktree-create:WorktreeCreate\: make the worktree on the cluster'\''s scratch filesystem' \ +'worktree-remove:WorktreeRemove\: remove a worktree the create hook made' \ ) _describe -t commands 'sinteractive help claude hook commands' commands "$@" } @@ -1300,6 +1402,16 @@ _sinteractive__subcmd__help__subcmd__claude__subcmd__hook__subcmd__session-start local commands; commands=() _describe -t commands 'sinteractive help claude hook session-start commands' commands "$@" } +(( $+functions[_sinteractive__subcmd__help__subcmd__claude__subcmd__hook__subcmd__worktree-create_commands] )) || +_sinteractive__subcmd__help__subcmd__claude__subcmd__hook__subcmd__worktree-create_commands() { + local commands; commands=() + _describe -t commands 'sinteractive help claude hook worktree-create commands' commands "$@" +} +(( $+functions[_sinteractive__subcmd__help__subcmd__claude__subcmd__hook__subcmd__worktree-remove_commands] )) || +_sinteractive__subcmd__help__subcmd__claude__subcmd__hook__subcmd__worktree-remove_commands() { + local commands; commands=() + _describe -t commands 'sinteractive help claude hook worktree-remove commands' commands "$@" +} (( $+functions[_sinteractive__subcmd__help__subcmd__claude__subcmd__install_commands] )) || _sinteractive__subcmd__help__subcmd__claude__subcmd__install_commands() { local commands; commands=() @@ -1369,6 +1481,8 @@ _sinteractive__subcmd__help__subcmd__hook_commands() { local commands; commands=( 'session-start:SessionStart\: print the agent briefing' \ 'prompt:UserPromptSubmit\: warn when walltime is short' \ +'worktree-create:WorktreeCreate\: make the worktree on the cluster'\''s scratch filesystem' \ +'worktree-remove:WorktreeRemove\: remove a worktree the create hook made' \ ) _describe -t commands 'sinteractive help hook commands' commands "$@" } @@ -1382,6 +1496,16 @@ _sinteractive__subcmd__help__subcmd__hook__subcmd__session-start_commands() { local commands; commands=() _describe -t commands 'sinteractive help hook session-start commands' commands "$@" } +(( $+functions[_sinteractive__subcmd__help__subcmd__hook__subcmd__worktree-create_commands] )) || +_sinteractive__subcmd__help__subcmd__hook__subcmd__worktree-create_commands() { + local commands; commands=() + _describe -t commands 'sinteractive help hook worktree-create commands' commands "$@" +} +(( $+functions[_sinteractive__subcmd__help__subcmd__hook__subcmd__worktree-remove_commands] )) || +_sinteractive__subcmd__help__subcmd__hook__subcmd__worktree-remove_commands() { + local commands; commands=() + _describe -t commands 'sinteractive help hook worktree-remove commands' commands "$@" +} (( $+functions[_sinteractive__subcmd__help__subcmd__install-claude_commands] )) || _sinteractive__subcmd__help__subcmd__install-claude_commands() { local commands; commands=() @@ -1492,6 +1616,8 @@ _sinteractive__subcmd__hook_commands() { local commands; commands=( 'session-start:SessionStart\: print the agent briefing' \ 'prompt:UserPromptSubmit\: warn when walltime is short' \ +'worktree-create:WorktreeCreate\: make the worktree on the cluster'\''s scratch filesystem' \ +'worktree-remove:WorktreeRemove\: remove a worktree the create hook made' \ 'help:Print this message or the help of the given subcommand(s)' \ ) _describe -t commands 'sinteractive hook commands' commands "$@" @@ -1501,6 +1627,8 @@ _sinteractive__subcmd__hook__subcmd__help_commands() { local commands; commands=( 'session-start:SessionStart\: print the agent briefing' \ 'prompt:UserPromptSubmit\: warn when walltime is short' \ +'worktree-create:WorktreeCreate\: make the worktree on the cluster'\''s scratch filesystem' \ +'worktree-remove:WorktreeRemove\: remove a worktree the create hook made' \ 'help:Print this message or the help of the given subcommand(s)' \ ) _describe -t commands 'sinteractive hook help commands' commands "$@" @@ -1520,6 +1648,16 @@ _sinteractive__subcmd__hook__subcmd__help__subcmd__session-start_commands() { local commands; commands=() _describe -t commands 'sinteractive hook help session-start commands' commands "$@" } +(( $+functions[_sinteractive__subcmd__hook__subcmd__help__subcmd__worktree-create_commands] )) || +_sinteractive__subcmd__hook__subcmd__help__subcmd__worktree-create_commands() { + local commands; commands=() + _describe -t commands 'sinteractive hook help worktree-create commands' commands "$@" +} +(( $+functions[_sinteractive__subcmd__hook__subcmd__help__subcmd__worktree-remove_commands] )) || +_sinteractive__subcmd__hook__subcmd__help__subcmd__worktree-remove_commands() { + local commands; commands=() + _describe -t commands 'sinteractive hook help worktree-remove commands' commands "$@" +} (( $+functions[_sinteractive__subcmd__hook__subcmd__prompt_commands] )) || _sinteractive__subcmd__hook__subcmd__prompt_commands() { local commands; commands=() @@ -1530,6 +1668,16 @@ _sinteractive__subcmd__hook__subcmd__session-start_commands() { local commands; commands=() _describe -t commands 'sinteractive hook session-start commands' commands "$@" } +(( $+functions[_sinteractive__subcmd__hook__subcmd__worktree-create_commands] )) || +_sinteractive__subcmd__hook__subcmd__worktree-create_commands() { + local commands; commands=() + _describe -t commands 'sinteractive hook worktree-create commands' commands "$@" +} +(( $+functions[_sinteractive__subcmd__hook__subcmd__worktree-remove_commands] )) || +_sinteractive__subcmd__hook__subcmd__worktree-remove_commands() { + local commands; commands=() + _describe -t commands 'sinteractive hook worktree-remove commands' commands "$@" +} (( $+functions[_sinteractive__subcmd__install-claude_commands] )) || _sinteractive__subcmd__install-claude_commands() { local commands; commands=()