mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
completion: add completions for topgrade
This commit is contained in:
parent
9b3783d54a
commit
48652eebc1
1 changed files with 22 additions and 0 deletions
22
share/completions/topgrade.fish
Normal file
22
share/completions/topgrade.fish
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Flags
|
||||
complete -f -c topgrade -s c -l cleanup -d "Cleanup temporary or old files"
|
||||
complete -f -c topgrade -l disable-predefined-git-repos -d "Don't pull the predefined git repos"
|
||||
complete -f -c topgrade -s n -l dry-run -d "Print what would be done"
|
||||
complete -f -c topgrade -l edit-config -d "Edit the configuration file"
|
||||
complete -f -c topgrade -s h -l help -d "Prints help information"
|
||||
complete -f -c topgrade -s k -l keep -d "Prompt for a key before exiting"
|
||||
complete -f -c topgrade -l no-retry -d "Do not ask to retry failed steps"
|
||||
complete -f -c topgrade -s t -l tmux -d "Run inside tmux"
|
||||
complete -f -c topgrade -l config-reference -d "Show config reference"
|
||||
complete -f -c topgrade -l show-skipped -d "Show the reason for skipped steps"
|
||||
complete -f -c topgrade -s V -l version -d "Prints version information"
|
||||
complete -f -c topgrade -s v -l verbose -d "Output logs"
|
||||
|
||||
# Options
|
||||
complete -f -c topgrade -l config -r -d "Alternative configuration file"
|
||||
complete -f -c topgrade -l disable -r -a "asdf atom brew_cask brew_formula bin cargo chezmoi chocolatey choosenim composer custom_commands deno dotnet emacs firmware flatpak flutter fossil gcloud gem git_repos haxelib gnome_shell_extensions home_manager jetpack krew macports mas micro myrepos nix node opam pacdiff pacstall pearl pipx pip3 pkg pkgin pnpm powershell raco remotes restarts rtcl rustup scoop sdkman silnite sheldon shell snap spicetify stack system tldr tlmgr tmux vagrant vcpkg vim winget wsl yadm" -d "Do not perform upgrades for the given steps"
|
||||
|
||||
complete -f -c topgrade -l only -r -a "asdf atom brew_cask brew_formula bin cargo chezmoi chocolatey choosenim composer custom_commands deno dotnet emacs firmware flatpak flutter fossil gcloud gem git_repos haxelib gnome_shell_extensions home_manager jetpack krew macports mas micro myrepos nix node opam pacdiff pacstall pearl pipx pip3 pkg pkgin pnpm powershell raco remotes restarts rtcl rustup scoop sdkman silnite sheldon shell snap spicetify stack system tldr tlmgr tmux vagrant vcpkg vim winget wsl yadm" -d "Perform only the specified steps (experimental)"
|
||||
|
||||
complete -f -c topgrade -l remote-host-limit -r -d "A regular expression for restricting remote host execution"
|
||||
complete -f -c topgrade -s y -l yes -d "Say yes to package manager's prompt"
|
Loading…
Reference in a new issue