178 lines
5.9 KiB
Plaintext
178 lines
5.9 KiB
Plaintext
module completions {
|
||
|
||
# The box store multitool of embedded Linux
|
||
export extern utilbox [
|
||
--help(-h) # Print help
|
||
--version(-V) # Print version
|
||
]
|
||
|
||
# Install shitbox into the filesystem
|
||
export extern "utilbox 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 "utilbox 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
|
||
--version(-V) # Print version
|
||
]
|
||
|
||
# Install links for each applet
|
||
export extern "utilbox bootstrap links" [
|
||
--soft(-s) # Install soft links instead of hardlinks
|
||
--help(-h) # Print help
|
||
--version(-V) # Print version
|
||
]
|
||
|
||
# Install Unix man pages
|
||
export extern "utilbox bootstrap manpages" [
|
||
--help(-h) # Print help
|
||
--version(-V) # Print version
|
||
]
|
||
|
||
# Install shell completions
|
||
export extern "utilbox 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
|
||
--version(-V) # Print version
|
||
]
|
||
|
||
# Print this message or the help of the given subcommand(s)
|
||
export extern "utilbox bootstrap help" [
|
||
]
|
||
|
||
# Install everything
|
||
export extern "utilbox bootstrap help all" [
|
||
]
|
||
|
||
# Install links for each applet
|
||
export extern "utilbox bootstrap help links" [
|
||
]
|
||
|
||
# Install Unix man pages
|
||
export extern "utilbox bootstrap help manpages" [
|
||
]
|
||
|
||
# Install shell completions
|
||
export extern "utilbox bootstrap help completions" [
|
||
]
|
||
|
||
# Print this message or the help of the given subcommand(s)
|
||
export extern "utilbox bootstrap help help" [
|
||
]
|
||
|
||
# clear the terminal's screen
|
||
export extern "utilbox clear" [
|
||
--help(-h) # Print help
|
||
--version(-V) # Print version
|
||
]
|
||
|
||
# see if a directory or file is a mountpoint
|
||
export extern "utilbox mountpoint" [
|
||
--fs-devno(-d) # Show the major/minor numbers of the device that is mounted on the given directory.
|
||
--devno(-x) # Show the major/minor numbers of the given blockdevice on standard output.
|
||
--quiet(-q) # Be quiet - don’t print anything.
|
||
file: string
|
||
--help(-h) # Print help (see more with '--help')
|
||
--version(-V) # Print version
|
||
]
|
||
|
||
# set the label of a swap filesystem
|
||
export extern "utilbox swaplabel" [
|
||
--label(-L): string # set the label
|
||
-l: string # set the label
|
||
device: string
|
||
--help(-h) # Print help
|
||
--version(-V) # Print version
|
||
]
|
||
|
||
# disable devices and files for paging and swapping
|
||
export extern "utilbox swapoff" [
|
||
--all(-a) # Disable swapping on all known swap devices and files as found in /etc/fstab.
|
||
--verbose(-v) # output a diagnostic for every file processed
|
||
...device: string
|
||
--help(-h) # Print help
|
||
--version(-V) # Print version
|
||
]
|
||
|
||
# unmount filesystems
|
||
export extern "utilbox umount" [
|
||
--all(-a) # All of the file systems described in /proc/mounts are unmounted. The proc filesystem is not unmounted.
|
||
--force(-f) # Force an unmount (in case of an unreachable NFS system).
|
||
--lazy(-l) # Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore.
|
||
-n # Unmount without writing in /etc/mtab. This is the default action. This flag exists only for historical compatability.
|
||
--types(-t): string # Indicate that the actions should only be taken on filesystems of the specified type.
|
||
--verbose(-v) # output a diagnostic for every file processed
|
||
...spec: string
|
||
--help(-h) # Print help (see more with '--help')
|
||
--version(-V) # Print version
|
||
]
|
||
|
||
# Print this message or the help of the given subcommand(s)
|
||
export extern "utilbox help" [
|
||
]
|
||
|
||
# Install shitbox into the filesystem
|
||
export extern "utilbox help bootstrap" [
|
||
]
|
||
|
||
# Install everything
|
||
export extern "utilbox help bootstrap all" [
|
||
]
|
||
|
||
# Install links for each applet
|
||
export extern "utilbox help bootstrap links" [
|
||
]
|
||
|
||
# Install Unix man pages
|
||
export extern "utilbox help bootstrap manpages" [
|
||
]
|
||
|
||
# Install shell completions
|
||
export extern "utilbox help bootstrap completions" [
|
||
]
|
||
|
||
# clear the terminal's screen
|
||
export extern "utilbox help clear" [
|
||
]
|
||
|
||
# see if a directory or file is a mountpoint
|
||
export extern "utilbox help mountpoint" [
|
||
]
|
||
|
||
# set the label of a swap filesystem
|
||
export extern "utilbox help swaplabel" [
|
||
]
|
||
|
||
# disable devices and files for paging and swapping
|
||
export extern "utilbox help swapoff" [
|
||
]
|
||
|
||
# unmount filesystems
|
||
export extern "utilbox help umount" [
|
||
]
|
||
|
||
# Print this message or the help of the given subcommand(s)
|
||
export extern "utilbox help help" [
|
||
]
|
||
|
||
}
|
||
|
||
use completions *
|