73 lines
2.2 KiB
Plaintext
73 lines
2.2 KiB
Plaintext
module completions {
|
|
|
|
# Install shitbox into the filesystem
|
|
export extern bootstrap [
|
|
--prefix(-p): string # The directory path under which to install
|
|
--usr(-u) # Use /usr
|
|
--soft(-s) # Install soft links instead of hardlinks
|
|
--help(-h) # Print help (see more with '--help')
|
|
--version(-V) # Print version
|
|
]
|
|
|
|
# Install everything
|
|
export extern "bootstrap all" [
|
|
--soft(-s) # Install soft links instead of hardlinks
|
|
--all(-a) # Install completions for all supported shells
|
|
--bash(-b) # Bash shell completions
|
|
--fish(-f) # Fish shell completions
|
|
--nu(-n) # Nushell completions
|
|
--pwsh(-p) # PowerShell completions
|
|
--zsh(-z) # Zshell completions
|
|
--help(-h) # Print help
|
|
]
|
|
|
|
# Install links for each applet
|
|
export extern "bootstrap links" [
|
|
--soft(-s) # Install soft links instead of hardlinks
|
|
--help(-h) # Print help
|
|
]
|
|
|
|
# Install Unix man pages
|
|
export extern "bootstrap manpages" [
|
|
--help(-h) # Print help
|
|
]
|
|
|
|
# Install shell completions
|
|
export extern "bootstrap completions" [
|
|
--all(-a) # Install completions for all supported shells
|
|
--bash(-b) # Bash shell completions
|
|
--fish(-f) # Fish shell completions
|
|
--nu(-n) # Nushell completions
|
|
--pwsh(-p) # PowerShell completions
|
|
--zsh(-z) # Zshell completions
|
|
--help(-h) # Print help
|
|
]
|
|
|
|
# Print this message or the help of the given subcommand(s)
|
|
export extern "bootstrap help" [
|
|
]
|
|
|
|
# Install everything
|
|
export extern "bootstrap help all" [
|
|
]
|
|
|
|
# Install links for each applet
|
|
export extern "bootstrap help links" [
|
|
]
|
|
|
|
# Install Unix man pages
|
|
export extern "bootstrap help manpages" [
|
|
]
|
|
|
|
# Install shell completions
|
|
export extern "bootstrap help completions" [
|
|
]
|
|
|
|
# Print this message or the help of the given subcommand(s)
|
|
export extern "bootstrap help help" [
|
|
]
|
|
|
|
}
|
|
|
|
use completions *
|