mirror of
https://github.com/Cian-H/dotfiles.git
synced 2026-07-31 15:22:06 +01:00
Changed . token to _dot
This change allows the dotfiles to work with chezmoi (e.g: on windows) and improves grepability with neovim/telescope
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Custom completions
|
||||
|
||||
This current directory provides custom completions. They can be used by importing their exported commands via:
|
||||
|
||||
```nushell
|
||||
use path/to/<command>/<command>-completions.nu *
|
||||
# or
|
||||
source path/to/<command>/<command>-completions.nu
|
||||
# without the `*` at the end
|
||||
```
|
||||
|
||||
With `path/to/<command>` being either the relative path of the file to your current working directory or its absolute path.
|
||||
|
||||
Bear in mind that if you import the `use <path> *`, it is important that you don't name a function with the same name of the file
|
||||
|
||||
```nu
|
||||
# file: rustup.nu
|
||||
|
||||
export extern rustup [
|
||||
...args
|
||||
]
|
||||
```
|
||||
`use ./rustup.nu *` won't work here
|
||||
@@ -0,0 +1,66 @@
|
||||
# copied from auto-generated completions
|
||||
|
||||
export extern "ack" [
|
||||
--ignore-case(-i) # Ignore case
|
||||
--smart-case # Ignore case when pattern contains no uppercase
|
||||
--no-smart-case # Dont ignore case
|
||||
--invert-match(-v) # Invert match
|
||||
--word-regexp(-w) # Match only whole words
|
||||
--literal(-Q) # Quote all metacharacters
|
||||
--lines # Only print line(s) NUM of each file
|
||||
--files-with-matches(-l) # Only print filenames containing matches
|
||||
--files-without-matches(-L) # Only print filenames with no matches
|
||||
--output # Output the evaluation of Perl expression for each line
|
||||
--passthru # Print all lines
|
||||
--match # Specify pattern explicitly
|
||||
--max-count(-m) # Stop searching in each file after NUM matches
|
||||
--with-filename(-H) # Print the filename for each match
|
||||
--no-filename(-h) # Suppress the prefixing filename on output
|
||||
--count(-c) # Show number of lines matching per file
|
||||
--column # Show column number of first match
|
||||
--no-column # Dont show column number of first match
|
||||
--print0 # Print null byte as separator between filenames
|
||||
--pager # Pipes all ack output through command
|
||||
--no-pager # Do not send output through a pager
|
||||
--heading # Prints a filename heading above files results
|
||||
--no-heading # Dont print a filename heading above files results
|
||||
--break # Print a break between results
|
||||
--no-break # Dont print a break between results
|
||||
--group # Filename heading and line break between results
|
||||
--no-group # No filename heading and no line breaks between results
|
||||
--color # Highlight the matching text
|
||||
--no-colour # Dont highlight the matching text
|
||||
--color-filename # Set the color for filenames
|
||||
--color-match # Set the color for matches
|
||||
--color-lineno # Set the color for line numbers
|
||||
--flush # Flush output immediately
|
||||
--sort-files # Sort the found files lexically
|
||||
--show-types # Show which types each file has
|
||||
--files-from # Read the list of files to search from file
|
||||
--ignore-directory # Ignore directory
|
||||
--no-ignore-directory # Dont ignore directory
|
||||
--ignore-file # Add filter for ignoring files
|
||||
--recurse(-R) # Recurse into subdirectories
|
||||
--no-recurse(-n) # No descending into subdirectories
|
||||
--follow # Follow symlinks
|
||||
--no-follow # Dont follow symlinks
|
||||
--known-types(-k) # Include only recognized files
|
||||
--type # Include only X files
|
||||
--type-set # Replaces definition of type
|
||||
--type-add # Specify definition of type
|
||||
--type-del # Removes all filters associated with type
|
||||
--no-env # Ignores environment variables and ackrc files
|
||||
--ackrc # Specifies location of ackrc file
|
||||
--ignore-ack-defaults # Ignore default definitions ack includes
|
||||
--create-ackrc # Outputs default ackrc
|
||||
--help(-?) # Shows help
|
||||
--help-types # Shows all known types
|
||||
--dump # Dump information on which options are loaded
|
||||
--filter # Forces ack to treat input as a pipe
|
||||
--no-filter # Forces ack to treat input as tty
|
||||
--man # Shows man page
|
||||
--version # Displays version and copyright
|
||||
--thpppt # Bill the Cat
|
||||
--bar # The warning admiral
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,304 @@
|
||||
def "nu-complete adb one-device-args" [] {
|
||||
[SERIAL USB]
|
||||
}
|
||||
|
||||
def "nu-complete adb compression-algorithm" [] {
|
||||
[any none brotli lz4 zstd]
|
||||
}
|
||||
|
||||
def "nu-complete adb sync-partations" [] {
|
||||
[all data odm oem product system system_ext vendor]
|
||||
}
|
||||
|
||||
def "nu-complete adb wait-for-state" [] {
|
||||
[-device -recovery -rescue -sideload -bootloader -disconnect]
|
||||
}
|
||||
|
||||
def "nu-complete adb wait-for-transport" [] {
|
||||
[-usb -local -any]
|
||||
}
|
||||
|
||||
def "nu-complete adb reboot-type" [] {
|
||||
[
|
||||
bootloader
|
||||
recovery
|
||||
edl
|
||||
sideload # Reboots into recovery and automatically starts sideload mode.
|
||||
sideload-auto-reboot
|
||||
" "
|
||||
]
|
||||
}
|
||||
|
||||
export extern "adb" [
|
||||
-a # listen on all network interfaces, not just localhost
|
||||
-d # use USB device (error if multiple devices connected)
|
||||
-e # use TCP/IP device (error if multiple TCP/IP devices available)
|
||||
-s: string # use device with given serial (overrides $ANDROID_SERIAL)
|
||||
-t: string # use device with given transport id
|
||||
-H: string # name of adb server host [default=localhost]
|
||||
-P: int # port of adb server [default=5037]
|
||||
-L: string # listen on given socket for adb server [default=tcp:localhost:5037]
|
||||
|
||||
--exit-on-write-error # exit if stdout is closed
|
||||
]
|
||||
|
||||
# Show this help message.
|
||||
export extern "adb help" []
|
||||
|
||||
# Show version number.
|
||||
export extern "adb version" []
|
||||
|
||||
# Connect to a device via TCP/IP [default PORT=5555].
|
||||
export extern "adb connect" [
|
||||
host_port: string # Connect to a device via TCP/IP [default PORT=5555].
|
||||
]
|
||||
|
||||
# Disconnect from given TCP/IP device [default PORT=5555], or all.
|
||||
export extern "adb disconnect" [
|
||||
host_port?: string # Disconnect device via TCP/IP [default PORT=5555] (disconnec all if no ip given).
|
||||
]
|
||||
|
||||
# Pair with a device for secure TCP/IP communication.
|
||||
export extern "adb pair" [
|
||||
host_port: string # Connect to a device via TCP/IP [default PORT=5555].
|
||||
PAIRING_CODE: string
|
||||
]
|
||||
|
||||
export extern "adb forward" [
|
||||
--list # List all forward socket connections.
|
||||
--no-rebind
|
||||
LOCAL_REMOTE: string # Forward socket connection using one of the followings. tcp:PORT (local may be “tcp:0” to pick any open port. localreserved:UNIX_DOMAIN_SOCKET_NAME. localfilesystem:UNIX_DOMAIN_SOCKET_NAME. jdwp:PROCESS PID (remote only). vsock:CID:PORT (remote only). acceptfd:FD (listen only). dev:DEVICE_NAME. dev-raw:DEVICE_NAME. (open device in raw mode)**.
|
||||
--remove: string # Remove specific forward socket connection.
|
||||
--remove-all # Remove all forward socket connections.
|
||||
]
|
||||
|
||||
export extern "adb reverse" [
|
||||
--list # List all forward socket connections.
|
||||
--no-rebind
|
||||
LOCAL_REMOTE: string # Forward socket connection using one of the followings. tcp:PORT (local may be “tcp:0” to pick any open port. localreserved:UNIX_DOMAIN_SOCKET_NAME. localfilesystem:UNIX_DOMAIN_SOCKET_NAME. jdwp:PROCESS PID (remote only). vsock:CID:PORT (remote only). acceptfd:FD (listen only). dev:DEVICE_NAME. dev-raw:DEVICE_NAME. (open device in raw mode)**.
|
||||
--remove: string # Remove specific forward socket connection.
|
||||
--remove-all # Remove all forward socket connections.
|
||||
]
|
||||
|
||||
export extern "adb mdns" [
|
||||
check # Check if mdns discovery is available.
|
||||
services # List all discovered services.
|
||||
]
|
||||
|
||||
|
||||
# List connected devices.
|
||||
export extern "adb devices" [
|
||||
-l # Use long output.
|
||||
]
|
||||
|
||||
|
||||
# Push a single package to the device and install it
|
||||
export extern "adb install" [
|
||||
Package: string
|
||||
-r # Replace existing application.
|
||||
-t # Allow test packages.
|
||||
-d # Allow version code downgrade (debuggable packages only).
|
||||
-p # Partial application install (install-multiple only).
|
||||
-g # Grant all runtime permissions.
|
||||
--abi:string # Override platform's default ABI.
|
||||
--instant # Cause the app to be installed as an ephemeral install app.
|
||||
--no-streaming # Always push APK to device and invoke Package Manager as separate steps.
|
||||
--streaming # Force streaming APK directly into Package Manager.
|
||||
--fastdeploy # Use fast deploy.
|
||||
--no-fastdeploy # Prevent use of fast deploy.
|
||||
--force-agent # Force update of deployment agent when using fast deploy.
|
||||
--date-check-agent # Update deployment agent when local version is newer and using fast deploy.
|
||||
--version-check-agent # Update deployment agent when local version has different version code and using fast deploy.
|
||||
--local-agent # Locate agent files from local source build (instead of SDK location). See also adb shell pm help for more options.
|
||||
]
|
||||
|
||||
|
||||
|
||||
# Push one or more packages to the device and install them atomically
|
||||
export extern "adb install-multiple" [
|
||||
Package: string
|
||||
-r # Replace existing application.
|
||||
-t # Allow test packages.
|
||||
-d # Allow version code downgrade (debuggable packages only).
|
||||
-p # Partial application install (install-multiple only).
|
||||
-g # Grant all runtime permissions.
|
||||
--abi:string # Override platform's default ABI.
|
||||
--instant # Cause the app to be installed as an ephemeral install app.
|
||||
--no-streaming # Always push APK to device and invoke Package Manager as separate steps.
|
||||
--streaming # Force streaming APK directly into Package Manager.
|
||||
--fastdeploy # Use fast deploy.
|
||||
--no-fastdeploy # Prevent use of fast deploy.
|
||||
--force-agent # Force update of deployment agent when using fast deploy.
|
||||
--date-check-agent # Update deployment agent when local version is newer and using fast deploy.
|
||||
--version-check-agent # Update deployment agent when local version has different version code and using fast deploy.
|
||||
--local-agent # Locate agent files from local source build (instead of SDK location). See also adb shell pm help for more options.
|
||||
]
|
||||
|
||||
export extern "adb install-multi-package" [
|
||||
Package: string
|
||||
-r # Replace existing application.
|
||||
-t # Allow test packages.
|
||||
-d # Allow version code downgrade (debuggable packages only).
|
||||
-p # Partial application install (install-multiple only).
|
||||
-g # Grant all runtime permissions.
|
||||
--abi:string # Override platform's default ABI.
|
||||
--instant # Cause the app to be installed as an ephemeral install app.
|
||||
--no-streaming # Always push APK to device and invoke Package Manager as separate steps.
|
||||
--streaming # Force streaming APK directly into Package Manager.
|
||||
--fastdeploy # Use fast deploy.
|
||||
--no-fastdeploy # Prevent use of fast deploy.
|
||||
--force-agent # Force update of deployment agent when using fast deploy.
|
||||
--date-check-agent # Update deployment agent when local version is newer and using fast deploy.
|
||||
--version-check-agent # Update deployment agent when local version has different version code and using fast deploy.
|
||||
--local-agent # Locate agent files from local source build (instead of SDK location). See also adb shell pm help for more options.
|
||||
]
|
||||
|
||||
|
||||
# Remove specified application from the device
|
||||
export extern "adb uninstall" [
|
||||
APPLICATION_ID: string # Remove this APPLICATION_ID from the device.
|
||||
-k
|
||||
]
|
||||
|
||||
# Run remote shell command (interactive shell if no command given)
|
||||
export extern "adb shell" [
|
||||
-e # Choose escape character, or “none”; default ‘~’.
|
||||
-n # Don't read from stdin
|
||||
-T # Disable pty allocation.
|
||||
-t # Allocate a pty if on a tty (-tt force pty allocation).
|
||||
-x # Disable remote exit codes and stdout/stderr separation.
|
||||
COMMAND?:string # Run emulator console COMMAND
|
||||
]
|
||||
|
||||
|
||||
# Copy local files/directories to device.
|
||||
export extern "adb push" [
|
||||
--sync # Only push files that are newer on the host than the device.
|
||||
-n # Dry run, push files to device without storing to the filesystem.
|
||||
-z:string@"nu-complete adb compression-algorithm" # enable compression with a specified algorithm (any/none/brotli/lz4/zstd).
|
||||
-Z # Disable compression.
|
||||
|
||||
]
|
||||
|
||||
# Copy files/dirs from device
|
||||
export extern "adb pull" [
|
||||
-a # preserve file timestamp and mode.
|
||||
--sync # Only push files that are newer on the host than the device.
|
||||
-n # Dry run. Push files to device without storing to the filesystem.
|
||||
-z:string@"nu-complete adb compression-algorithm" # enable compression with a specified algorithm (any/none/brotli/lz4/zstd).
|
||||
-Z # Disable compression.
|
||||
...remote: string
|
||||
local: string
|
||||
]
|
||||
|
||||
|
||||
# Sync a local build from $ANDROID_PRODUCT_OUT to the device (default all)
|
||||
export extern "adb sync" [
|
||||
parations: string@"nu-complete adb sync-partations"
|
||||
-n # Dry run. Push files to device without storing to the filesystem.
|
||||
-z:string@"nu-complete adb compression-algorithm" # enable compression with a specified algorithm (any/none/brotli/lz4/zstd).
|
||||
-Z # Disable compression.
|
||||
-l # List files that would be copied, but don't copy them.
|
||||
]
|
||||
|
||||
# Ensure that there is a server running.
|
||||
export extern "adb start-server" [ # only allowed with 'start-server' or 'server nodaemon',
|
||||
--one-device: string@"nu-complete adb one-device-args" #server will only connect to one USB device, specified by a serial number or USB device address.
|
||||
]
|
||||
|
||||
# Kill the server if it is running.
|
||||
export extern "adb kill-server" []
|
||||
|
||||
# Close connection from host or device side to force reconnect.
|
||||
export extern "adb reconnect" [
|
||||
device?: string
|
||||
]
|
||||
|
||||
# Close connection from device side to force reconnect.
|
||||
export extern "adb reconnect device" []
|
||||
|
||||
# Reset offline/unauthorized devices to force reconnect.
|
||||
export extern "adb reconnect offline" []
|
||||
|
||||
# Attach a detached USB device identified by its SERIAL number.
|
||||
export extern "adb attach" [
|
||||
SERIAL: string
|
||||
]
|
||||
|
||||
# Detach from a USB device identified by its SERIAL to allow use by other processes.
|
||||
export extern "adb detach" [
|
||||
SERIAL: string
|
||||
]
|
||||
|
||||
# list features supported by adb server.
|
||||
export extern "adb host-features" []
|
||||
|
||||
# list features supported by both adb server and device.
|
||||
export extern "adb features" []
|
||||
|
||||
# Write bugreport
|
||||
export extern "adb bugreport" [
|
||||
PATH: string # PATH [default=bugreport.zip]; if PATH is a directory, the bug report is saved in that directory. devices that don't support zipped bug reports output to stdout.
|
||||
|
||||
]
|
||||
|
||||
# List pids of processes hosting a JDWP transport.
|
||||
export extern "adb jdwp" []
|
||||
|
||||
# Show device log (logcat --help for more).
|
||||
export extern "adb logcat" []
|
||||
|
||||
# Disable dm-verity checking on userdebug builds.
|
||||
export extern "adb disable-verity" []
|
||||
|
||||
# Re-enable dm-verity checking on userdebug builds.
|
||||
export extern "adb enable-verity" []
|
||||
|
||||
# Generate adb public/private key; private key stored in FILE.
|
||||
export extern "adb keygen" [
|
||||
FILE: string
|
||||
]
|
||||
|
||||
# Wait for device to be in a given state.
|
||||
export extern "adb wait-for" [
|
||||
STATE: string@"nu-complete adb wait-for-state"
|
||||
TRANSPORT: string@"nu-complete adb wait-for-transport"
|
||||
]
|
||||
|
||||
# Print offline | bootloader | device.
|
||||
export extern "adb get-state" []
|
||||
|
||||
# Print SERIAL_NUMBER.
|
||||
export extern "adb get-serialno" []
|
||||
|
||||
# Print DEVICE_PATH.
|
||||
export extern "adb get-devpath" []
|
||||
|
||||
# Remount partitions read-write.
|
||||
export extern "adb remount" [
|
||||
-R # Automatically reboot the device.
|
||||
]
|
||||
|
||||
# Reboot the device; defaults to booting system image but supports bootloader and recovery too.
|
||||
export extern "adb reboot" [
|
||||
type:string@"nu-complete adb reboot-type"
|
||||
]
|
||||
|
||||
# Sideload the given full OTA package
|
||||
export extern "adb sideload" [
|
||||
OTAPACKAGE: string
|
||||
]
|
||||
|
||||
# Restart adbd with root permissions.
|
||||
export extern "adb root" []
|
||||
|
||||
# Restart adbd without root permissions.
|
||||
export extern "adb unroot" []
|
||||
|
||||
# Restart adbd listening on USB.
|
||||
export extern "adb usb" []
|
||||
|
||||
# Restart adbd listening on TCP on PORT.
|
||||
export extern "adb tcpip" [
|
||||
PORT:string
|
||||
]
|
||||
@@ -0,0 +1,24 @@
|
||||
# SDK Platform Tools completions
|
||||
|
||||
A Nushell extern definition and completers for [Android Debugger Bridge `adb`](https://developer.android.com/tools/adb).
|
||||
|
||||
|
||||
This module provides extern definitions for almost all of the `adb` commands and their flags.
|
||||
|
||||
## Usage
|
||||
|
||||
simply import the extern definitions with
|
||||
|
||||
```nu
|
||||
use path/to/adb-completions.nu * # don't forget the star `*`
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```nu
|
||||
source path/to/adb-completions.nu
|
||||
```
|
||||
|
||||
Once imported completions will be available for commands, flags, options, and some values as well.
|
||||
Display the commands by entering the `→ tab` key in the command line after `adb`or any of it's command options.
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
# author: HirschBerge
|
||||
# inspired by DWTW
|
||||
|
||||
def videoQuality [] {
|
||||
[ "worst", "360p", "480p", "720p", "1080p", "4K", "best" ]
|
||||
}
|
||||
def common_episodes [] {
|
||||
[ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13" ]
|
||||
}
|
||||
def common_ranges [] {
|
||||
[ "1-5", "5-10", "1-13", "14-26", "1-26" ]
|
||||
}
|
||||
|
||||
# Anime Search and Streaming Tool
|
||||
export extern "ani-cli" [
|
||||
string?
|
||||
-q: int@videoQuality # Specify video quality
|
||||
--quality: int@videoQuality # Specify video quality
|
||||
-s # Use Syncplay to watch with friends
|
||||
--syncplay # Use Syncplay to watch with friends
|
||||
-f # Use FZF for selection
|
||||
--fzf # Use FZF for selection
|
||||
-e: string@common_episodes # Specify episode number
|
||||
--episode: string@common_episodes # Specify episode number
|
||||
-d # Download the episode instead of playing it
|
||||
--download # Download the episode instead of playing it
|
||||
-p # Download episode to a specified directory
|
||||
--path: string # Download episode to a specified directory
|
||||
-c # Continue watching from history
|
||||
--continue # Continue watching from history
|
||||
-h # Show help text
|
||||
--help # Show help text
|
||||
-D # Delete history
|
||||
--delete # Delete history
|
||||
-l # Show logs
|
||||
--log-view # Show logs
|
||||
-U # Update the script
|
||||
--update # Update the script
|
||||
-V # Show the version of the script
|
||||
--version # Show the version of the script
|
||||
-r: string@common_ranges # Specify range number
|
||||
--range: string@common_ranges # Specify range number
|
||||
--skip # Use ani-skip to skip intros (mpv only)
|
||||
--dub # Play dubbed version
|
||||
--rofi # Use rofi instead of fzf for menu
|
||||
--no-detach # Don't detach the player (mpv only)
|
||||
--exit-after-play # Exit after playing (mpv only)
|
||||
--skip-title: string # Use the given title for ani-skip query
|
||||
-N # Display a countdown to the next episode
|
||||
--nextep-countdown # Display a countdown to the next episode
|
||||
]
|
||||
@@ -0,0 +1,67 @@
|
||||
# Omit false conditionals
|
||||
export extern "as" [
|
||||
--alternate # Initially turn on alternate macro syntax
|
||||
--nocompress-debug-sections # Dont compress DWARF debug sections
|
||||
--execstack # Require executable stack for this object
|
||||
--noexecstack # Dont require executable stack for this object
|
||||
--elf-stt-common # Generate ELF common symbols with STT_COMMON type
|
||||
--sectname-subst # Enable section name substitution sequences
|
||||
--gen-debug(-g) # Generate debugging information
|
||||
--gstabs # Generate STABS debugging information
|
||||
# --gstabs+ # (breaks the nu parser) Generate STABS debug info with GNU extensions
|
||||
--gdwarf-2 # Generate DWARF2 debugging information
|
||||
--gdwarf-sections # Generate per-function section names for DWARF line information
|
||||
--help # Show help message and exit
|
||||
--target-help # Show target specific options
|
||||
--mri(-M) # Assemble in MRI compatibility mode
|
||||
--reduce-memory-overheads # Prefer smaller memory use
|
||||
--statistics # Print various measured statistics from execution
|
||||
--strip-local-absolute # Strip local absolute symbols
|
||||
--traditional-format # Use same format as native assembler when possible
|
||||
--version # Print assembler version number and exit
|
||||
--no-warn(-W) # Suppress warnings
|
||||
--warn # Dont suppress warnings
|
||||
--fatal-warnings # Treat warnings as errors
|
||||
--listing-lhs-width
|
||||
--listing-lhs-width2
|
||||
--listing-rhs-width
|
||||
--listing-cont-lines
|
||||
--32 # Generate 32 bits code
|
||||
--64 # Generate 64 bits code
|
||||
--x32 # Generate x32 code
|
||||
...args
|
||||
]
|
||||
|
||||
# Generate ELF common symbols with STT_COMMON type
|
||||
export extern "as yes no" [
|
||||
--alternate # Initially turn on alternate macro syntax
|
||||
--nocompress-debug-sections # Dont compress DWARF debug sections
|
||||
--execstack # Require executable stack for this object
|
||||
--noexecstack # Dont require executable stack for this object
|
||||
--elf-stt-common # Generate ELF common symbols with STT_COMMON type
|
||||
--sectname-subst # Enable section name substitution sequences
|
||||
--gen-debug(-g) # Generate debugging information
|
||||
--gstabs # Generate STABS debugging information
|
||||
# --gstabs+ # (breaks the nu parser) Generate STABS debug info with GNU extensions
|
||||
--gdwarf-2 # Generate DWARF2 debugging information
|
||||
--gdwarf-sections # Generate per-function section names for DWARF line information
|
||||
--help # Show help message and exit
|
||||
--target-help # Show target specific options
|
||||
--mri(-M) # Assemble in MRI compatibility mode
|
||||
--reduce-memory-overheads # Prefer smaller memory use
|
||||
--statistics # Print various measured statistics from execution
|
||||
--strip-local-absolute # Strip local absolute symbols
|
||||
--traditional-format # Use same format as native assembler when possible
|
||||
--version # Print assembler version number and exit
|
||||
--no-warn(-W) # Suppress warnings
|
||||
--warn # Dont suppress warnings
|
||||
--fatal-warnings # Treat warnings as errors
|
||||
--listing-lhs-width
|
||||
--listing-lhs-width2
|
||||
--listing-rhs-width
|
||||
--listing-cont-lines
|
||||
--32 # Generate 32 bits code
|
||||
--64 # Generate 64 bits code
|
||||
--x32 # Generate x32 code
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,101 @@
|
||||
# auto-generate completions
|
||||
|
||||
- basic helpers to parse --help information from cli commands and export nu completions source
|
||||
- basic helpers tp parse .fish complete files and export nu completions source
|
||||
|
||||
# parse-fish
|
||||
|
||||
## current
|
||||
- only parses out simple complete's with no complete's boolean arguments like -f
|
||||
- does not map fish autocomplete helpers to nu-complete helps (a nu library of autocomplete utils would be neat)
|
||||
|
||||
## usage
|
||||
|
||||
be in a directory with one or more .fish completion scripts
|
||||
|
||||
A good one is
|
||||
|
||||
`git clone https://github.com/fish-shell/fish-shell`
|
||||
`cd fish-shell/share/completions`
|
||||
|
||||
To build all .fish files in the current directory `build-completions-from-pwd`
|
||||
|
||||
```nu
|
||||
build-completions-from-pwd
|
||||
ls *.nu
|
||||
```
|
||||
|
||||
To build a single .fish file and choose the output file
|
||||
```nu
|
||||
build-completion cargo.fish cargo.nu
|
||||
```
|
||||
# parse-help
|
||||
|
||||
## current limitations
|
||||
|
||||
- Only flags are parsed, arguments are not parsed and ...args is injected at the end to catch all
|
||||
- Some examples of `--flags` in descriptions can throw off the regex and get included in the parsed flags
|
||||
- `<format>` (types) to flags are parsed, but not added to the nu shell completion type hints
|
||||
|
||||
## usage
|
||||
|
||||
generate and save source to a file
|
||||
|
||||
```nu
|
||||
source parse-help.nu
|
||||
cargo --help | parse-help | make-completion cargo | save cargo.nu
|
||||
```
|
||||
|
||||
## example
|
||||
|
||||
This can be saved to a file and sourced. Example of output
|
||||
|
||||
```nu
|
||||
extern "cargo" [
|
||||
--version(-V) #Print version info and exit
|
||||
--list #List installed commands
|
||||
--explain #Run `rustc --explain CODE`
|
||||
--verbose(-v) #Use verbose output (-vv very verbose/build.rs output)
|
||||
--quiet(-q) #Do not print cargo log messages
|
||||
--color #Coloring: auto, always, never
|
||||
--frozen #Require Cargo.lock and cache are up to date
|
||||
--locked #Require Cargo.lock is up to date
|
||||
--offline #Run without accessing the network
|
||||
--config #Override a configuration value (unstable)
|
||||
--help(-h) #Print help information
|
||||
...args
|
||||
]
|
||||
|
||||
extern "nu" [
|
||||
--help(-h) #Display this help message
|
||||
--stdin #redirect the stdin
|
||||
--login(-l) #start as a login shell
|
||||
--interactive(-i) #start as an interactive shell
|
||||
--version(-v) #print the version
|
||||
--perf(-p) #start and print performance metrics during startup
|
||||
--testbin #run internal test binary
|
||||
--commands(-c) #run the given commands and then exit
|
||||
--config #start with an alternate config file
|
||||
--env-config #start with an alternate environment config file
|
||||
--log-level #log level for performance logs
|
||||
--threads(-t) #threads to use for parallel commands
|
||||
...args
|
||||
]
|
||||
```
|
||||
|
||||
Which outputs like so on tab completion for `cargo --`
|
||||
```
|
||||
❯ | cargo --
|
||||
--color Coloring: auto, always, never
|
||||
--config Override a configuration value (unstable)
|
||||
--explain Run `rustc --explain CODE`
|
||||
--frozen Require Cargo.lock and cache are up to date
|
||||
--help Display this help message
|
||||
--help Print help information
|
||||
--list List installed commands
|
||||
--locked Require Cargo.lock is up to date
|
||||
--offline Run without accessing the network
|
||||
--quiet Do not print cargo log messages
|
||||
--verbose Use verbose output (-vv very verbose/build.rs output)
|
||||
--version Print version info and exit
|
||||
```
|
||||
@@ -0,0 +1,71 @@
|
||||
# Add
|
||||
extern "7z a" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Benchmark
|
||||
extern "7z b" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Delete
|
||||
extern "7z d" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Extract
|
||||
extern "7z e" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Hash
|
||||
extern "7z h" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show information about supported formats
|
||||
extern "7z i" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List
|
||||
extern "7z l" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Rename
|
||||
extern "7z rn" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Test
|
||||
extern "7z t" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Update
|
||||
extern "7z u" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Extract with full paths
|
||||
extern "7z x" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Stop switches parsing
|
||||
extern "7z" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,4 @@
|
||||
extern "7za" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,4 @@
|
||||
extern "7zr" [
|
||||
|
||||
...args
|
||||
]
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
# Enable or disamble VRDE server or don't change setting
|
||||
extern "VBoxHeadless on off config" [
|
||||
--vrde(-v) # Enable or disamble VRDE server or don't change setting
|
||||
--settingspwfile # Specify file containing setting password
|
||||
--start-paused # Start VM in paused state
|
||||
--filename(-f) # File name when recording
|
||||
...args
|
||||
]
|
||||
|
||||
# Specify file containing setting password
|
||||
extern "VBoxHeadless" [
|
||||
--vrde(-v) # Enable or disamble VRDE server or don't change setting
|
||||
--settingspwfile # Specify file containing setting password
|
||||
--start-paused # Start VM in paused state
|
||||
--filename(-f) # File name when recording
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,29 @@
|
||||
# Run separate VM process or attach to a running VM
|
||||
extern "VBoxSDL" [
|
||||
--seperate # Run separate VM process or attach to a running VM
|
||||
--hda # Set temporary first hard disk
|
||||
--fda # Set temporary first floppy disk
|
||||
--fullscreen # Start VM in fullscreen mode
|
||||
--fullscreenresize # Resize guest on fullscreen
|
||||
--nofstoggle # Forbid switching to/from fullscreen mode
|
||||
--noresize # Make SDL frame non resizable
|
||||
--nohostkey # Disable all hoskey combinations
|
||||
--nohostkeys # Disable specific hostkey combinations
|
||||
--nograbonclick # Disable mouse/keyboard grabbing on mouse click w/o additions
|
||||
--detecthostkey # Get hostkey identifier and modifier state
|
||||
--termacpi # Send APCI power button when closing window
|
||||
--vrdp # Listen for VRDP connexions on if one of specified
|
||||
--discardstate # Discard saved state (if present) and revert to last snapshot (if present)
|
||||
--settingspwfile # Specify file containing setting password
|
||||
--rowr0 # Enable raw ring 3
|
||||
--rowr3 # Enable raw ring 0
|
||||
--patm # Enable PATM
|
||||
--csam # Enable CSAM
|
||||
--hwvirtex # Permit usage of VT-x/AMD-V
|
||||
--norowr0 # Disable raw ring 3
|
||||
--norowr3 # Disable raw ring 0
|
||||
--nopatm # Disable PATM
|
||||
--nocsam # Disable CSAM
|
||||
--nohwvirtex # Deny usage of VT-x/AMD-V
|
||||
...args
|
||||
]
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
# Don't show informative messages
|
||||
extern "a2disconf" [
|
||||
--quiet(-q) # Don't show informative messages
|
||||
--purge(-p) # Purge all traces of module
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,6 @@
|
||||
# Don't show informative messages
|
||||
extern "a2dismod" [
|
||||
--quiet(-q) # Don't show informative messages
|
||||
--purge(-p) # Purge all traces of module
|
||||
...args
|
||||
]
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
# Don't show informative messages
|
||||
extern "a2dissite" [
|
||||
--quiet(-q) # Don't show informative messages
|
||||
--purge(-p) # Purge all traces of module
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Don't show informative messages
|
||||
extern "a2enconf" [
|
||||
--quiet(-q) # Don't show informative messages
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Don't show informative messages
|
||||
extern "a2enmod" [
|
||||
--quiet(-q) # Don't show informative messages
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Don't show informative messages
|
||||
extern "a2ensite" [
|
||||
--quiet(-q) # Don't show informative messages
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,13 @@
|
||||
# Add abbreviation
|
||||
extern "abbr" [
|
||||
--add(-a) # Add abbreviation
|
||||
--query(-q) # Check if an abbreviation exists
|
||||
--rename(-r) # Rename an abbreviation
|
||||
--erase(-e) # Erase abbreviation
|
||||
--show(-s) # Print all abbreviations
|
||||
--list(-l) # Print all abbreviation names
|
||||
--global(-g) # Store abbreviation in a global variable
|
||||
--universal(-U) # Store abbreviation in a universal variable
|
||||
--help(-h) # Help
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Show usage
|
||||
extern "abook" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
#
|
||||
extern "acat" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,19 @@
|
||||
# Show battery information
|
||||
extern "acpi" [
|
||||
--battery(-b) # Show battery information
|
||||
--without-battery(-B) # Suppress battery information
|
||||
--thermal(-t) # Show thermal information
|
||||
--without-thermal(-T) # Suppress thermal information
|
||||
--ac-adapter(-a) # Show ac adapter information
|
||||
--without-ac-adapter(-A) # Suppress ac-adapter information
|
||||
--everything(-V) # Show every device, overrides above options
|
||||
--show-empty(-s) # Show non-operational devices
|
||||
--hide-empty(-S) # Hide non-operational devices
|
||||
--celcius(-c) # Use celsius as the temperature unit
|
||||
--fahrenheit(-f) # Use fahrenheit as the temperature unit
|
||||
--kelvin(-k) # Use kelvin as the temperature unit
|
||||
--directory(-d) # <dir> path to ACPI info (/proc/acpi)
|
||||
--help(-h) # Display help and exit
|
||||
--version(-v) # Output version information and exit
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,15 @@
|
||||
# Do not run passwd to set the password
|
||||
extern "adduser" [
|
||||
--disabled-login # Do not run passwd to set the password
|
||||
--disabled-password # Do not set password, but allow non-password logins (e.g. SSH RSA)
|
||||
--force-badname # Apply only a weak check for validity of the user/group name
|
||||
--group # Create a group
|
||||
--help # Display brief instructions
|
||||
--no-create-home # Do not create the home directory
|
||||
--quiet # Suppress informational messages, only show warnings and errors
|
||||
--debug # Be verbose, most useful if you want to nail down a problem with adduser
|
||||
--system # Create a system user or group
|
||||
--add_extra_groups # Add new user to extra groups defined in the configuration file
|
||||
--version # Display version and copyright information
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,4 @@
|
||||
extern "adiff" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,6 @@
|
||||
# Show help and exit
|
||||
extern "alias" [
|
||||
--help(-h) # Show help and exit
|
||||
--save(-s) # Automatically funcsave the alias
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
#
|
||||
extern "als" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,16 @@
|
||||
# Select the configuration file to use
|
||||
extern "alsactl" [
|
||||
--file(-f) # Select the configuration file to use
|
||||
--lock(-l) # Use a lock file
|
||||
--no-lock(-L) # Do not use a lock file
|
||||
--lock-state-file(-O) # Select the state lock file path
|
||||
--runstate(-r) # Save restore and init state to this file
|
||||
--remove(-R) # Remove runstate file at first
|
||||
--env(-E) # Set environment variable
|
||||
--initfile(-i) # The configuration file for init
|
||||
--pid-file(-e) # The PID file to use
|
||||
--background(-b) # Run the task in background
|
||||
--syslog(-s) # Use syslog for messages
|
||||
--sched-idle(-c) # Set the process scheduling policy to idle (SCHED_IDLE)
|
||||
...args
|
||||
]
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
# Show help
|
||||
extern "alsamixer" [
|
||||
--help(-h) # Show help
|
||||
--no-color(-g) # Toggle the using of colors
|
||||
...args
|
||||
]
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
# Generate more comments about what alternatives is doing
|
||||
extern "alternatives" [
|
||||
--verbose # Generate more comments about what alternatives is doing
|
||||
--help # Give some usage information
|
||||
--version # Tell which version of alternatives this is
|
||||
--keep-missing # If new variant doesn't provide some files, keep previous links
|
||||
--altdir # Specifies the alternatives directory
|
||||
--admindir # Specifies the administrative directory
|
||||
--remove # Remove an alternative and all of its associated slave links
|
||||
--set # Set link group to given path
|
||||
--config # Open menu to configure link group
|
||||
--auto # Switch the master symlink name to automatic mode
|
||||
--display # Display information about the link group
|
||||
--list # Display information about all link groups
|
||||
--remove-all # Remove the whole link group name
|
||||
--add-slave # Add a slave link to an existing alternative
|
||||
--remove-slave # Remove slave from an existing alternative
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
#
|
||||
extern "amixer" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Display help and exit
|
||||
extern "and" [
|
||||
--help(-h) # Display help and exit
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Control alpha/matte channel of an image [option]
|
||||
extern "animate" [
|
||||
|
||||
...args
|
||||
]
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
# Show version and config
|
||||
extern "ansible-galaxy" [
|
||||
--version # Show version and config
|
||||
--verbose(-v) # Verbose mode (-vvv for more, -vvvv for connection debugging)
|
||||
...args
|
||||
]
|
||||
|
||||
#
|
||||
extern "ansible-galaxy download\t'Download collections as tarball" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
#
|
||||
extern "ansible-galaxy init\t'Initialize new role with the base structure" [
|
||||
|
||||
...args
|
||||
]
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
# Ask for vault password
|
||||
extern "ansible-playbook" [
|
||||
--ask-vault-pass # Ask for vault password
|
||||
--check(-C) # Just check, don't make any changes
|
||||
--diff(-D) # Show the differences in files and templates
|
||||
--flush-cache # Clear the fact cache
|
||||
--force-handlers # Run handlers even if a task fails
|
||||
--help(-h) # Shows a help message
|
||||
--list-hosts # List all matching hosts
|
||||
--list-tags # List all available tags
|
||||
--list-tasks # List all tasks that would be executed
|
||||
--new-vault-password-file # New vault password file for rekey
|
||||
--output # Output file name for encrypt or decrypt; use - for stdout
|
||||
--step # Confirm each task before running
|
||||
--syntax-check # Perform a syntax check on the playbook
|
||||
--vault-password-file # Vault password file
|
||||
--verbose(-v) # Verbose mode (-vv/-vvv/-vvvv for more)
|
||||
--version # Display version and exit
|
||||
--ask-pass(-k) # Ask for connection password
|
||||
--connection(-c) # Connection type to use (default=smart)
|
||||
--timeout(-T) # Set the connection timeout in seconds (default=10)
|
||||
--ssh-common-args # Specify common arguments to pass to sftp/scp/ssh
|
||||
--sftp-extra-args # Specify extra arguments to pass to sftp only
|
||||
--scp-extra-args # Specify extra arguments to pass to scp only
|
||||
--ssh-extra-args # Specify extra arguments to pass to ssh only
|
||||
--become(-b) # Run operations with become
|
||||
--ask-become-pass(-K) # Ask for privilege escalation password
|
||||
...args
|
||||
]
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
# Display version and exit
|
||||
extern "ansible-vault" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Decrypt encrypted file or stdin
|
||||
extern "ansible-vault decrypt" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Encrypt a file or stdin
|
||||
extern "ansible-vault encrypt" [
|
||||
--prompt(-p) # Prompt for the string to encrypt
|
||||
...args
|
||||
]
|
||||
|
||||
# Encrypt string
|
||||
extern "ansible-vault encrypt_string" [
|
||||
--prompt(-p) # Prompt for the string to encrypt
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,24 @@
|
||||
# Ask for vault password
|
||||
extern "ansible" [
|
||||
--ask-vault-pass # Ask for vault password
|
||||
--check(-C) # Just check, don't make any changes
|
||||
--diff(-D) # Show the differences in files and templates
|
||||
--help(-h) # Shows a help message
|
||||
--new-vault-password-file # New vault password file for rekey
|
||||
--one-line(-o) # Condense output
|
||||
--output # Output file name for encrypt or decrypt; use - for stdout
|
||||
--syntax-check # Perform a syntax check on the playbook
|
||||
--vault-password-file # Vault password file
|
||||
--verbose(-v) # Verbose mode (-vv/-vvv/-vvvv for more)
|
||||
--version # Display version and exit
|
||||
--ask-pass(-k) # Ask for connection password
|
||||
--connection(-c) # Connection type to use (default=smart)
|
||||
--timeout(-T) # Set the connection timeout in seconds (default=10)
|
||||
--ssh-common-args # Specify common arguments to pass to sftp/scp/ssh
|
||||
--sftp-extra-args # Specify extra arguments to pass to sftp only
|
||||
--scp-extra-args # Specify extra arguments to pass to scp only
|
||||
--ssh-extra-args # Specify extra arguments to pass to ssh only
|
||||
--become(-b) # Run operations with become
|
||||
--ask-become-pass(-K) # Ask for privilege escalation password
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
# print help message and ant help
|
||||
extern "ant" [
|
||||
--h # print help message and ant help
|
||||
--noconfig # suppress sourcing of configuration files
|
||||
--usejikes # enable use of jikes by default
|
||||
--execdebug # print ant exec line generated by this launch script
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,4 @@
|
||||
extern "apack" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,185 @@
|
||||
# Show help
|
||||
extern "apk" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Add packages
|
||||
extern "apk add" [
|
||||
--simulate(-s) # Simulate the requested operation
|
||||
--clean-protected # Don't create .apk-new files
|
||||
--overlay-from-stdin # Read list of overlay files from stdin
|
||||
--no-scripts # Don't execute any scripts
|
||||
--no-commit-hooks # Skip pre/post hook scripts
|
||||
--initramfs-diskless-boot # Enables options for diskless initramfs boot
|
||||
--initdb # Initialize database
|
||||
--upgrade(-u) # Prefer to upgrade package
|
||||
--latest(-l) # Select latest version of package
|
||||
--no-chown # Don't change file owner or group
|
||||
...args
|
||||
]
|
||||
|
||||
# Remove packages
|
||||
extern "apk del" [
|
||||
--simulate(-s) # Simulate the requested operation
|
||||
--clean-protected # Don't create .apk-new files
|
||||
--overlay-from-stdin # Read list of overlay files from stdin
|
||||
--no-scripts # Don't execute any scripts
|
||||
--no-commit-hooks # Skip pre/post hook scripts
|
||||
--initramfs-diskless-boot # Enables options for diskless initramfs boot
|
||||
--rdepends(-r) # Remove unneeded dependencies too
|
||||
...args
|
||||
]
|
||||
|
||||
# Repair package
|
||||
extern "apk fix" [
|
||||
--simulate(-s) # Simulate the requested operation
|
||||
--clean-protected # Don't create .apk-new files
|
||||
--overlay-from-stdin # Read list of overlay files from stdin
|
||||
--no-scripts # Don't execute any scripts
|
||||
--no-commit-hooks # Skip pre/post hook scripts
|
||||
--initramfs-diskless-boot # Enables options for diskless initramfs boot
|
||||
--depends(-d) # Fix all dependencies too
|
||||
--reinstall(-r) # Reinstall the package
|
||||
--upgrade(-u) # Prefer to upgrade package
|
||||
--xattr(-x) # Fix packages with broken xattrs
|
||||
--directory-permissions # Reset all directory permissions
|
||||
...args
|
||||
]
|
||||
|
||||
# Update repository indexes
|
||||
extern "apk update" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Give detailed information about packages
|
||||
extern "apk info" [
|
||||
--contents(-L) # List included files
|
||||
--installed(-e) # Check PACKAGE installed status
|
||||
--depends(-R) # List the dependencies
|
||||
--provides(-P) # List virtual packages provided
|
||||
--rdepends(-r) # List reverse dependencies
|
||||
--replaces # List packages that PACKAGE might replace
|
||||
--install-if # List install_if rule
|
||||
--rinstall-if # List packages having install_if referencing PACKAGE
|
||||
--webpage(-w) # Print the URL for the upstream
|
||||
--size(-s) # Show installed size
|
||||
--description(-d) # Print the description
|
||||
--license # Print the license
|
||||
--triggers # Print active triggers
|
||||
--all(-a) # Print all information
|
||||
...args
|
||||
]
|
||||
|
||||
# List packages
|
||||
extern "apk list" [
|
||||
--installed(-I) # List installed packages only
|
||||
--orphaned(-O) # List orphaned packages only
|
||||
--available(-a) # List available packages only
|
||||
--upgradable(-u) # List upgradable packages only
|
||||
--origin(-o) # List packages by origin
|
||||
--depends(-d) # List packages by dependency
|
||||
--providers(-P) # List packages by provider
|
||||
...args
|
||||
]
|
||||
|
||||
# Search package
|
||||
extern "apk search" [
|
||||
--all(-a) # Show all package versions
|
||||
--description(-d) # Search package descriptions
|
||||
--exact(-x) # Require exact match
|
||||
--origin(-o) # Print origin package name
|
||||
--rdepends(-r) # Print reverse dependencies
|
||||
--has-origin # List packages that have the given origin
|
||||
...args
|
||||
]
|
||||
|
||||
# Upgrade installed packages
|
||||
extern "apk upgrade" [
|
||||
--simulate(-s) # Simulate the requested operation
|
||||
--clean-protected # Don't create .apk-new files
|
||||
--overlay-from-stdin # Read list of overlay files from stdin
|
||||
--no-scripts # Don't execute any scripts
|
||||
--no-commit-hooks # Skip pre/post hook scripts
|
||||
--initramfs-diskless-boot # Enables options for diskless initramfs boot
|
||||
--available(-a) # Reset all packages to the provided versions
|
||||
--latest(-l) # Select latest version of package
|
||||
--no-self-upgrade # Don't do early upgrade of the apk
|
||||
--self-upgrade-only # Only do self-upgrade
|
||||
--ignore # Ignore the upgrade of PACKAGE
|
||||
--prune # Prune the WORLD by removing packages which are no longer available
|
||||
...args
|
||||
]
|
||||
|
||||
# Manage local package cache
|
||||
extern "apk cache" [
|
||||
--upgrade(-u) # Prefer to upgrade package
|
||||
--latest(-l) # Select latest version of package
|
||||
...args
|
||||
]
|
||||
|
||||
# Compare package versions
|
||||
extern "apk version" [
|
||||
--indexes(-I) # Print description and versions of indexes
|
||||
--test(-t) # Compare two given versions
|
||||
--check(-c) # Check the given version strings
|
||||
--all(-a) # Consider packages from all repository tags
|
||||
...args
|
||||
]
|
||||
|
||||
# Create repository index file
|
||||
extern "apk index" [
|
||||
--no-warnings # Disable the warning about missing dependencies
|
||||
...args
|
||||
]
|
||||
|
||||
# Download packages
|
||||
extern "apk fetch" [
|
||||
--link(-L) # Create hard links
|
||||
--recursive(-R) # Fetch all dependencies too
|
||||
--simulate # Simulate the requested operation
|
||||
--stdout(-s) # Dump the .apk to stdout
|
||||
...args
|
||||
]
|
||||
|
||||
# Audit the directories for changes
|
||||
extern "apk audit" [
|
||||
--backup # Audit configuration files only
|
||||
--system # Audit all system files
|
||||
--check-permissions # Check file permissions too
|
||||
--recursive(-r) # Descend into directories and audit them as well
|
||||
--packages # List only the changed packages
|
||||
...args
|
||||
]
|
||||
|
||||
# Verify package integrity and signature
|
||||
extern "apk verify" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Generate graphviz graphs
|
||||
extern "apk dot" [
|
||||
--errors # Consider only packages with errors
|
||||
--installed # Consider only installed packages
|
||||
...args
|
||||
]
|
||||
|
||||
# Show repository policy for packages
|
||||
extern "apk policy" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show statistics about repositories and installations
|
||||
extern "apk stats" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show checksums of package contents
|
||||
extern "apk manifest" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,14 @@
|
||||
# Display help and exit
|
||||
extern "apropos" [
|
||||
--help(-?) # Display help and exit
|
||||
--usage # Display short usage message
|
||||
--debug(-d) # Print debugging info
|
||||
--verbose(-v) # Verbose mode
|
||||
--regex(-r) # Keyword as regex (default)
|
||||
--wildcard(-w) # Keyword as wildcards
|
||||
--exact(-e) # Keyword as exactly match
|
||||
--version(-V) # Display version and exit
|
||||
--and(-a) # Match all keywords
|
||||
--long(-l) # Do not trim output to terminal width
|
||||
...args
|
||||
]
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
[# Display help and exit
|
||||
extern "apt-build" [
|
||||
--help # Display help and exit
|
||||
--nowrapper # Do not use gcc wrapper
|
||||
--remove-builddep # Remove build-dep
|
||||
--no-source # Do not download source
|
||||
--build-dir # Specify build-dir
|
||||
--rebuild # Rebuild a package
|
||||
--reinstall # Rebuild and install an installed package
|
||||
--patch-strip(-p) # Prefix to strip on patch
|
||||
--yes(-y) # Assume yes to all questions
|
||||
--purge # Use purge instead of remove
|
||||
--noupdate # Do not run update
|
||||
--version(-v) # Display version and exit
|
||||
...args
|
||||
]
|
||||
# Update list of packages
|
||||
extern "apt-build update" [
|
||||
--help # Display help and exit
|
||||
--nowrapper # Do not use gcc wrapper
|
||||
--remove-builddep # Remove build-dep
|
||||
--no-source # Do not download source
|
||||
--build-dir # Specify build-dir
|
||||
--rebuild # Rebuild a package
|
||||
--reinstall # Rebuild and install an installed package
|
||||
--patch-strip(-p) # Prefix to strip on patch
|
||||
--yes(-y) # Assume yes to all questions
|
||||
--purge # Use purge instead of remove
|
||||
--noupdate # Do not run update
|
||||
--version(-v) # Display version and exit
|
||||
...args
|
||||
]
|
||||
# Upgrade packages
|
||||
extern "apt-build upgrade" [
|
||||
--help # Display help and exit
|
||||
--nowrapper # Do not use gcc wrapper
|
||||
--remove-builddep # Remove build-dep
|
||||
--no-source # Do not download source
|
||||
--build-dir # Specify build-dir
|
||||
--rebuild # Rebuild a package
|
||||
--reinstall # Rebuild and install an installed package
|
||||
--patch-strip(-p) # Prefix to strip on patch
|
||||
--yes(-y) # Assume yes to all questions
|
||||
--purge # Use purge instead of remove
|
||||
--noupdate # Do not run update
|
||||
--version(-v) # Display version and exit
|
||||
...args
|
||||
]]
|
||||
|
||||
[# Rebuild your system
|
||||
extern "apt-bulid world" [
|
||||
|
||||
...args
|
||||
]]
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
# Display help and exit
|
||||
extern "apt-cache" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Build apt cache
|
||||
extern "apt-cache gencaches" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show cache statistics
|
||||
extern "apt-cache stats" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show packages in cache
|
||||
extern "apt-cache dump" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Print available list
|
||||
extern "apt-cache dumpavail" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List unmet dependencies in cache
|
||||
extern "apt-cache unmet" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Search full package name
|
||||
extern "apt-cache search" [
|
||||
|
||||
...args
|
||||
]
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
# Display help and exit
|
||||
extern "apt-cdrom" [
|
||||
--help(-h) # Display help and exit
|
||||
--rename(-r) # Rename a disc
|
||||
--no-mount(-m) # No mounting
|
||||
--fast(-f) # Fast copy
|
||||
--thorough(-a) # Thorough package scan
|
||||
--no-act(-n) # No changes
|
||||
--version(-v) # Display version and exit
|
||||
...args
|
||||
]
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
# Display help and exit
|
||||
extern "apt-config" [
|
||||
--help(-h) # Display help and exit
|
||||
--version(-v) # Display version and exit
|
||||
...args
|
||||
]
|
||||
|
||||
# Access config file from shell
|
||||
extern "apt-config shell" [
|
||||
--help(-h) # Display help and exit
|
||||
--version(-v) # Display version and exit
|
||||
...args
|
||||
]
|
||||
|
||||
# Dump contents of config file
|
||||
extern "apt-config dump" [
|
||||
--help(-h) # Display help and exit
|
||||
--version(-v) # Display version and exit
|
||||
...args
|
||||
]
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
# Display help and exit
|
||||
extern "apt-extracttemplates" [
|
||||
--help(-h) # Display help and exit
|
||||
...args
|
||||
]
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
# Display help and exit
|
||||
extern "apt-file" [
|
||||
--help(-h) # Display help and exit
|
||||
--verbose(-v) # Verbose mode
|
||||
--cdrom-mount(-d) # Use cdrom-mount-point
|
||||
--ignore-case(-i) # Do not expand pattern
|
||||
--regexp(-x) # Pattern is regexp
|
||||
--version(-V) # Display version and exit
|
||||
--architecture(-a) # Set arch
|
||||
--package-only(-l) # Only display package name
|
||||
--fixed-string(-F) # Do not expand pattern
|
||||
--dummy(-y) # Run in dummy mode
|
||||
...args
|
||||
]
|
||||
+83
@@ -0,0 +1,83 @@
|
||||
# Display help and exit
|
||||
extern "apt-ftparchive" [
|
||||
--help(-h) # Display help and exit
|
||||
--md5 # Generate MD5 sums
|
||||
--db(-d) # Use a binary db
|
||||
--quiet(-q) # Quiet mode
|
||||
--delink # Perform delinking
|
||||
--contents # Perform contents generation
|
||||
--source-override(-s) # Use source override
|
||||
--readonly # Make caching db readonly
|
||||
--version(-v) # Display version and exit
|
||||
...args
|
||||
]
|
||||
|
||||
# Generate package from source
|
||||
extern "apt-ftparchive packages" [
|
||||
--help(-h) # Display help and exit
|
||||
--md5 # Generate MD5 sums
|
||||
--db(-d) # Use a binary db
|
||||
--quiet(-q) # Quiet mode
|
||||
--delink # Perform delinking
|
||||
--contents # Perform contents generation
|
||||
--source-override(-s) # Use source override
|
||||
--readonly # Make caching db readonly
|
||||
--version(-v) # Display version and exit
|
||||
...args
|
||||
]
|
||||
|
||||
# Generate source index file
|
||||
extern "apt-ftparchive sources" [
|
||||
--help(-h) # Display help and exit
|
||||
--md5 # Generate MD5 sums
|
||||
--db(-d) # Use a binary db
|
||||
--quiet(-q) # Quiet mode
|
||||
--delink # Perform delinking
|
||||
--contents # Perform contents generation
|
||||
--source-override(-s) # Use source override
|
||||
--readonly # Make caching db readonly
|
||||
--version(-v) # Display version and exit
|
||||
...args
|
||||
]
|
||||
|
||||
# Generate contents file
|
||||
extern "apt-ftparchive contents" [
|
||||
--help(-h) # Display help and exit
|
||||
--md5 # Generate MD5 sums
|
||||
--db(-d) # Use a binary db
|
||||
--quiet(-q) # Quiet mode
|
||||
--delink # Perform delinking
|
||||
--contents # Perform contents generation
|
||||
--source-override(-s) # Use source override
|
||||
--readonly # Make caching db readonly
|
||||
--version(-v) # Display version and exit
|
||||
...args
|
||||
]
|
||||
|
||||
# Generate release file
|
||||
extern "apt-ftparchive release" [
|
||||
--help(-h) # Display help and exit
|
||||
--md5 # Generate MD5 sums
|
||||
--db(-d) # Use a binary db
|
||||
--quiet(-q) # Quiet mode
|
||||
--delink # Perform delinking
|
||||
--contents # Perform contents generation
|
||||
--source-override(-s) # Use source override
|
||||
--readonly # Make caching db readonly
|
||||
--version(-v) # Display version and exit
|
||||
...args
|
||||
]
|
||||
|
||||
# Remove records
|
||||
extern "apt-ftparchive clean" [
|
||||
--help(-h) # Display help and exit
|
||||
--md5 # Generate MD5 sums
|
||||
--db(-d) # Use a binary db
|
||||
--quiet(-q) # Quiet mode
|
||||
--delink # Perform delinking
|
||||
--contents # Perform contents generation
|
||||
--source-override(-s) # Use source override
|
||||
--readonly # Make caching db readonly
|
||||
--version(-v) # Display version and exit
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,89 @@
|
||||
# Display help and exit
|
||||
extern "apt-get" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Update sources
|
||||
extern "apt-get update" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Upgrade or install newest packages
|
||||
extern "apt-get upgrade" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Use with dselect front-end
|
||||
extern "apt-get dselect-upgrade" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Distro upgrade
|
||||
extern "apt-get dist-upgrade" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Install one or more packages
|
||||
extern "apt-get install" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Display changelog of one or more packages
|
||||
extern "apt-get changelog" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Remove and purge one or more packages
|
||||
extern "apt-get purge" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Remove one or more packages
|
||||
extern "apt-get remove" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Fetch source packages
|
||||
extern "apt-get source" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Install/remove packages for dependencies
|
||||
extern "apt-get build-dep" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Update cache and check dependencies
|
||||
extern "apt-get check" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Clean local caches and packages
|
||||
extern "apt-get clean" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Clean packages no longer be downloaded
|
||||
extern "apt-get autoclean" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Remove automatically installed packages
|
||||
extern "apt-get autoremove" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,11 @@
|
||||
# Remove a key
|
||||
extern "apt-key del" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List trusted keys
|
||||
extern "apt-key list" [
|
||||
|
||||
...args
|
||||
]
|
||||
+181
@@ -0,0 +1,181 @@
|
||||
# Display help and exit
|
||||
extern "apt-listbugs" [
|
||||
--help(-h) # Display help and exit
|
||||
--severity(-s) # Set severity
|
||||
--tag(-T) # Tags you want to see
|
||||
--stats(-S) # Bug-status you want to see
|
||||
--showless(-l) # Ignore bugs in your system
|
||||
--showgreater(-g) # Ignore newer bugs than upgrade packages
|
||||
--show-downgrade(-D) # Bugs for downgrade packages
|
||||
--hostname(-H) # Bug Tracking system
|
||||
--port(-p) # Specify port for web interface
|
||||
--release-critical(-R) # Use daily bug report
|
||||
--index(-I) # Use the raw index.db
|
||||
--indexdir(-X) # Specify index dir
|
||||
--pin-priority(-P) # Specify Pin-Priority value
|
||||
--title # Specify the title of rss
|
||||
--force-download(-f) # Retrieve fresh bugs
|
||||
--quiet(-q) # Do not display progress bar
|
||||
--cache-dir(-c) # Specify local cache dir
|
||||
--timer(-t) # Specify the expire cache timer
|
||||
--aptconf(-C) # Specify apt config file
|
||||
--force-yes(-y) # Assume yes to all questions
|
||||
--force-no(-n) # Assume no to all questions
|
||||
...args
|
||||
]
|
||||
|
||||
# Set severity
|
||||
extern "apt-listbugs critical grave" [
|
||||
--help(-h) # Display help and exit
|
||||
--severity(-s) # Set severity
|
||||
--tag(-T) # Tags you want to see
|
||||
--stats(-S) # Bug-status you want to see
|
||||
--showless(-l) # Ignore bugs in your system
|
||||
--showgreater(-g) # Ignore newer bugs than upgrade packages
|
||||
--show-downgrade(-D) # Bugs for downgrade packages
|
||||
--hostname(-H) # Bug Tracking system
|
||||
--port(-p) # Specify port for web interface
|
||||
--release-critical(-R) # Use daily bug report
|
||||
--index(-I) # Use the raw index.db
|
||||
--indexdir(-X) # Specify index dir
|
||||
--pin-priority(-P) # Specify Pin-Priority value
|
||||
--title # Specify the title of rss
|
||||
--force-download(-f) # Retrieve fresh bugs
|
||||
--quiet(-q) # Do not display progress bar
|
||||
--cache-dir(-c) # Specify local cache dir
|
||||
--timer(-t) # Specify the expire cache timer
|
||||
--aptconf(-C) # Specify apt config file
|
||||
--force-yes(-y) # Assume yes to all questions
|
||||
--force-no(-n) # Assume no to all questions
|
||||
...args
|
||||
]
|
||||
|
||||
# Bug-status you want to see
|
||||
extern "apt-listbugs outstanding 'pending upload' resolved done open" [
|
||||
--help(-h) # Display help and exit
|
||||
--severity(-s) # Set severity
|
||||
--tag(-T) # Tags you want to see
|
||||
--stats(-S) # Bug-status you want to see
|
||||
--showless(-l) # Ignore bugs in your system
|
||||
--showgreater(-g) # Ignore newer bugs than upgrade packages
|
||||
--show-downgrade(-D) # Bugs for downgrade packages
|
||||
--hostname(-H) # Bug Tracking system
|
||||
--port(-p) # Specify port for web interface
|
||||
--release-critical(-R) # Use daily bug report
|
||||
--index(-I) # Use the raw index.db
|
||||
--indexdir(-X) # Specify index dir
|
||||
--pin-priority(-P) # Specify Pin-Priority value
|
||||
--title # Specify the title of rss
|
||||
--force-download(-f) # Retrieve fresh bugs
|
||||
--quiet(-q) # Do not display progress bar
|
||||
--cache-dir(-c) # Specify local cache dir
|
||||
--timer(-t) # Specify the expire cache timer
|
||||
--aptconf(-C) # Specify apt config file
|
||||
--force-yes(-y) # Assume yes to all questions
|
||||
--force-no(-n) # Assume no to all questions
|
||||
...args
|
||||
]
|
||||
|
||||
# Bug Tracking system
|
||||
extern "apt-listbugs osdn.debian.or.jp" [
|
||||
--help(-h) # Display help and exit
|
||||
--severity(-s) # Set severity
|
||||
--tag(-T) # Tags you want to see
|
||||
--stats(-S) # Bug-status you want to see
|
||||
--showless(-l) # Ignore bugs in your system
|
||||
--showgreater(-g) # Ignore newer bugs than upgrade packages
|
||||
--show-downgrade(-D) # Bugs for downgrade packages
|
||||
--hostname(-H) # Bug Tracking system
|
||||
--port(-p) # Specify port for web interface
|
||||
--release-critical(-R) # Use daily bug report
|
||||
--index(-I) # Use the raw index.db
|
||||
--indexdir(-X) # Specify index dir
|
||||
--pin-priority(-P) # Specify Pin-Priority value
|
||||
--title # Specify the title of rss
|
||||
--force-download(-f) # Retrieve fresh bugs
|
||||
--quiet(-q) # Do not display progress bar
|
||||
--cache-dir(-c) # Specify local cache dir
|
||||
--timer(-t) # Specify the expire cache timer
|
||||
--aptconf(-C) # Specify apt config file
|
||||
--force-yes(-y) # Assume yes to all questions
|
||||
--force-no(-n) # Assume no to all questions
|
||||
...args
|
||||
]
|
||||
|
||||
# Specify local cache dir
|
||||
extern "apt-listbugs /var/cache/apt-listbugs/" [
|
||||
--help(-h) # Display help and exit
|
||||
--severity(-s) # Set severity
|
||||
--tag(-T) # Tags you want to see
|
||||
--stats(-S) # Bug-status you want to see
|
||||
--showless(-l) # Ignore bugs in your system
|
||||
--showgreater(-g) # Ignore newer bugs than upgrade packages
|
||||
--show-downgrade(-D) # Bugs for downgrade packages
|
||||
--hostname(-H) # Bug Tracking system
|
||||
--port(-p) # Specify port for web interface
|
||||
--release-critical(-R) # Use daily bug report
|
||||
--index(-I) # Use the raw index.db
|
||||
--indexdir(-X) # Specify index dir
|
||||
--pin-priority(-P) # Specify Pin-Priority value
|
||||
--title # Specify the title of rss
|
||||
--force-download(-f) # Retrieve fresh bugs
|
||||
--quiet(-q) # Do not display progress bar
|
||||
--cache-dir(-c) # Specify local cache dir
|
||||
--timer(-t) # Specify the expire cache timer
|
||||
--aptconf(-C) # Specify apt config file
|
||||
--force-yes(-y) # Assume yes to all questions
|
||||
--force-no(-n) # Assume no to all questions
|
||||
...args
|
||||
]
|
||||
|
||||
# List bugs from packages
|
||||
extern "apt-listbugs list" [
|
||||
--help(-h) # Display help and exit
|
||||
--severity(-s) # Set severity
|
||||
--tag(-T) # Tags you want to see
|
||||
--stats(-S) # Bug-status you want to see
|
||||
--showless(-l) # Ignore bugs in your system
|
||||
--showgreater(-g) # Ignore newer bugs than upgrade packages
|
||||
--show-downgrade(-D) # Bugs for downgrade packages
|
||||
--hostname(-H) # Bug Tracking system
|
||||
--port(-p) # Specify port for web interface
|
||||
--release-critical(-R) # Use daily bug report
|
||||
--index(-I) # Use the raw index.db
|
||||
--indexdir(-X) # Specify index dir
|
||||
--pin-priority(-P) # Specify Pin-Priority value
|
||||
--title # Specify the title of rss
|
||||
--force-download(-f) # Retrieve fresh bugs
|
||||
--quiet(-q) # Do not display progress bar
|
||||
--cache-dir(-c) # Specify local cache dir
|
||||
--timer(-t) # Specify the expire cache timer
|
||||
--aptconf(-C) # Specify apt config file
|
||||
--force-yes(-y) # Assume yes to all questions
|
||||
--force-no(-n) # Assume no to all questions
|
||||
...args
|
||||
]
|
||||
|
||||
# List bugs in rss format
|
||||
extern "apt-listbugs rss" [
|
||||
--help(-h) # Display help and exit
|
||||
--severity(-s) # Set severity
|
||||
--tag(-T) # Tags you want to see
|
||||
--stats(-S) # Bug-status you want to see
|
||||
--showless(-l) # Ignore bugs in your system
|
||||
--showgreater(-g) # Ignore newer bugs than upgrade packages
|
||||
--show-downgrade(-D) # Bugs for downgrade packages
|
||||
--hostname(-H) # Bug Tracking system
|
||||
--port(-p) # Specify port for web interface
|
||||
--release-critical(-R) # Use daily bug report
|
||||
--index(-I) # Use the raw index.db
|
||||
--indexdir(-X) # Specify index dir
|
||||
--pin-priority(-P) # Specify Pin-Priority value
|
||||
--title # Specify the title of rss
|
||||
--force-download(-f) # Retrieve fresh bugs
|
||||
--quiet(-q) # Do not display progress bar
|
||||
--cache-dir(-c) # Specify local cache dir
|
||||
--timer(-t) # Specify the expire cache timer
|
||||
--aptconf(-C) # Specify apt config file
|
||||
--force-yes(-y) # Assume yes to all questions
|
||||
--force-no(-n) # Assume no to all questions
|
||||
...args
|
||||
]
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
# Display help and exit
|
||||
extern "apt-listchanges" [
|
||||
--help # Display help and exit
|
||||
--apt # Read filenames from pipe
|
||||
--verbose(-v) # Verbose mode
|
||||
--frontend(-f) # Select frontend interface
|
||||
--confirm(-c) # Ask confirmation
|
||||
--all(-a) # Display all changelogs
|
||||
--headers(-h) # Insert header
|
||||
--debug # Display debug info
|
||||
...args
|
||||
]
|
||||
|
||||
# Select frontend interface
|
||||
extern "apt-listchanges pager browser xterm-pager xterm-browser text mail none" [
|
||||
--help # Display help and exit
|
||||
--apt # Read filenames from pipe
|
||||
--verbose(-v) # Verbose mode
|
||||
--frontend(-f) # Select frontend interface
|
||||
--confirm(-c) # Ask confirmation
|
||||
--all(-a) # Display all changelogs
|
||||
--headers(-h) # Insert header
|
||||
--debug # Display debug info
|
||||
...args
|
||||
]
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
# Display help and exit
|
||||
extern "apt-mark" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Mark a package as automatically installed
|
||||
extern "apt-mark auto" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Mark a package as manually installed
|
||||
extern "apt-mark manual" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Hold a package, prevent automatic installation or removal
|
||||
extern "apt-mark hold" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Cancel a hold on a package
|
||||
extern "apt-mark unhold" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show automatically installed packages
|
||||
extern "apt-mark showauto" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show manually installed packages
|
||||
extern "apt-mark showmanual" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show held packages
|
||||
extern "apt-mark showhold" [
|
||||
|
||||
...args
|
||||
]
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
# Generate master file
|
||||
extern "apt-move get" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Alias for 'get'
|
||||
extern "apt-move getlocal" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Move packages to local tree
|
||||
extern "apt-move move" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Delete obsolete package files
|
||||
extern "apt-move delete" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Build new local files
|
||||
extern "apt-move packages" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Rebuild index files
|
||||
extern "apt-move fsck" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Move packages from cache to local mirror
|
||||
extern "apt-move update" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Alias for 'move delete packages'
|
||||
extern "apt-move local" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Alias for 'update'
|
||||
extern "apt-move localupdate" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Download package missing from mirror
|
||||
extern "apt-move mirror" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Sync packages installed
|
||||
extern "apt-move sync" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# test $LOCALDIR/.exclude file
|
||||
extern "apt-move exclude" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Move file specified on commandline
|
||||
extern "apt-move movefile" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List packages that may serve as input to mirrorbin or mirrorsource
|
||||
extern "apt-move listbin" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Fetch package from STDIN
|
||||
extern "apt-move mirrorbin" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Fetch source package from STDIN
|
||||
extern "apt-move mirrorsrc" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Process all packages
|
||||
extern "apt-move" [
|
||||
|
||||
...args
|
||||
]
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
# Display help and exit
|
||||
extern "apt-proxy-import" [
|
||||
--help(-h) # Display help and exit
|
||||
--version(-V) # Display version and exit
|
||||
--verbose(-v) # Verbose mode
|
||||
--quiet(-q) # No message to STDOUT
|
||||
--recursive(-r) # Recurse into subdir
|
||||
...args
|
||||
]
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
# Display help and exit
|
||||
extern "apt-rdepends" [
|
||||
--help # Display help and exit
|
||||
--build-depends(-b) # Show build dependencies
|
||||
--dotty(-d) # Generate a dotty graph
|
||||
--print-state(-p) # Show state of dependencies
|
||||
--reverse(-r) # List packages depending on
|
||||
--man # Display man page
|
||||
--version # Display version and exit
|
||||
...args
|
||||
]
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
# Probe a CD
|
||||
extern "apt-setup probe" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Run in non-interactive mode
|
||||
extern "apt-setup" [
|
||||
|
||||
...args
|
||||
]
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
[# Display help and exit
|
||||
extern "apt-show-source" [
|
||||
--help(-h) # Display help and exit
|
||||
--version-only # Display version and exit
|
||||
--all(-a) # Print all source packages with version
|
||||
--verbose(-v) # Verbose mode
|
||||
...args
|
||||
]]
|
||||
|
||||
[#
|
||||
extern "" [
|
||||
|
||||
...args
|
||||
]]
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
# Display help and exit
|
||||
extern "apt-show-versions" [
|
||||
--help(-h) # Display help and exit
|
||||
--regex(-r) # Using regex
|
||||
--upgradeable(-u) # Print only upgradeable packages
|
||||
--allversions(-a) # Print all versions
|
||||
--brief(-b) # Print package name/distro
|
||||
--verbose(-v) # Print verbose info
|
||||
--initialize(-i) # Init or update cache only
|
||||
...args
|
||||
]
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
# Display help and exit
|
||||
extern "apt-sortpkgs" [
|
||||
--help(-h) # Display help and exit
|
||||
--source(-s) # Use source index field
|
||||
--version(-v) # Display version and exit
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
# Display help and exit
|
||||
extern "apt-spy" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Debian distribution
|
||||
extern "apt-spy stable testing unstable" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Servers in the areas
|
||||
extern "apt-spy Africa Asia Europe North-America Oceania South-America" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Update mirror list
|
||||
extern "apt-spy update" [
|
||||
|
||||
...args
|
||||
]
|
||||
+191
@@ -0,0 +1,191 @@
|
||||
# Display help and exit
|
||||
extern "apt-src" [
|
||||
--help(-h) # Display help and exit
|
||||
--build(-b) # Build source packages
|
||||
--installdebs(-i) # Install after build
|
||||
--patch(-p) # Patch local changes
|
||||
--here(-c) # Run on current dir
|
||||
--upstream-version # Omit debian version
|
||||
--keep-built(-k) # Do not del built files
|
||||
--no-delete-source(-n) # Do not del source files
|
||||
--version # Source tree version
|
||||
--quiet(-q) # Output to /dev/null
|
||||
--trace(-t) # Output trace
|
||||
...args
|
||||
]
|
||||
|
||||
# Update list of source packages
|
||||
extern "apt-src update" [
|
||||
--help(-h) # Display help and exit
|
||||
--build(-b) # Build source packages
|
||||
--installdebs(-i) # Install after build
|
||||
--patch(-p) # Patch local changes
|
||||
--here(-c) # Run on current dir
|
||||
--upstream-version # Omit debian version
|
||||
--keep-built(-k) # Do not del built files
|
||||
--no-delete-source(-n) # Do not del source files
|
||||
--version # Source tree version
|
||||
--quiet(-q) # Output to /dev/null
|
||||
--trace(-t) # Output trace
|
||||
...args
|
||||
]
|
||||
|
||||
# Install source packages
|
||||
extern "apt-src install" [
|
||||
--help(-h) # Display help and exit
|
||||
--build(-b) # Build source packages
|
||||
--installdebs(-i) # Install after build
|
||||
--patch(-p) # Patch local changes
|
||||
--here(-c) # Run on current dir
|
||||
--upstream-version # Omit debian version
|
||||
--keep-built(-k) # Do not del built files
|
||||
--no-delete-source(-n) # Do not del source files
|
||||
--version # Source tree version
|
||||
--quiet(-q) # Output to /dev/null
|
||||
--trace(-t) # Output trace
|
||||
...args
|
||||
]
|
||||
|
||||
# Upgrade source packages
|
||||
extern "apt-src upgrade" [
|
||||
--help(-h) # Display help and exit
|
||||
--build(-b) # Build source packages
|
||||
--installdebs(-i) # Install after build
|
||||
--patch(-p) # Patch local changes
|
||||
--here(-c) # Run on current dir
|
||||
--upstream-version # Omit debian version
|
||||
--keep-built(-k) # Do not del built files
|
||||
--no-delete-source(-n) # Do not del source files
|
||||
--version # Source tree version
|
||||
--quiet(-q) # Output to /dev/null
|
||||
--trace(-t) # Output trace
|
||||
...args
|
||||
]
|
||||
|
||||
# Remove source packages
|
||||
extern "apt-src remove" [
|
||||
--help(-h) # Display help and exit
|
||||
--build(-b) # Build source packages
|
||||
--installdebs(-i) # Install after build
|
||||
--patch(-p) # Patch local changes
|
||||
--here(-c) # Run on current dir
|
||||
--upstream-version # Omit debian version
|
||||
--keep-built(-k) # Do not del built files
|
||||
--no-delete-source(-n) # Do not del source files
|
||||
--version # Source tree version
|
||||
--quiet(-q) # Output to /dev/null
|
||||
--trace(-t) # Output trace
|
||||
...args
|
||||
]
|
||||
|
||||
# Build source packages
|
||||
extern "apt-src build" [
|
||||
--help(-h) # Display help and exit
|
||||
--build(-b) # Build source packages
|
||||
--installdebs(-i) # Install after build
|
||||
--patch(-p) # Patch local changes
|
||||
--here(-c) # Run on current dir
|
||||
--upstream-version # Omit debian version
|
||||
--keep-built(-k) # Do not del built files
|
||||
--no-delete-source(-n) # Do not del source files
|
||||
--version # Source tree version
|
||||
--quiet(-q) # Output to /dev/null
|
||||
--trace(-t) # Output trace
|
||||
...args
|
||||
]
|
||||
|
||||
# Clean source packages
|
||||
extern "apt-src clean" [
|
||||
--help(-h) # Display help and exit
|
||||
--build(-b) # Build source packages
|
||||
--installdebs(-i) # Install after build
|
||||
--patch(-p) # Patch local changes
|
||||
--here(-c) # Run on current dir
|
||||
--upstream-version # Omit debian version
|
||||
--keep-built(-k) # Do not del built files
|
||||
--no-delete-source(-n) # Do not del source files
|
||||
--version # Source tree version
|
||||
--quiet(-q) # Output to /dev/null
|
||||
--trace(-t) # Output trace
|
||||
...args
|
||||
]
|
||||
|
||||
# Detect known source tree
|
||||
extern "apt-src import" [
|
||||
--help(-h) # Display help and exit
|
||||
--build(-b) # Build source packages
|
||||
--installdebs(-i) # Install after build
|
||||
--patch(-p) # Patch local changes
|
||||
--here(-c) # Run on current dir
|
||||
--upstream-version # Omit debian version
|
||||
--keep-built(-k) # Do not del built files
|
||||
--no-delete-source(-n) # Do not del source files
|
||||
--version # Source tree version
|
||||
--quiet(-q) # Output to /dev/null
|
||||
--trace(-t) # Output trace
|
||||
...args
|
||||
]
|
||||
|
||||
# List installed source package\(s\)
|
||||
extern "apt-src list" [
|
||||
--help(-h) # Display help and exit
|
||||
--build(-b) # Build source packages
|
||||
--installdebs(-i) # Install after build
|
||||
--patch(-p) # Patch local changes
|
||||
--here(-c) # Run on current dir
|
||||
--upstream-version # Omit debian version
|
||||
--keep-built(-k) # Do not del built files
|
||||
--no-delete-source(-n) # Do not del source files
|
||||
--version # Source tree version
|
||||
--quiet(-q) # Output to /dev/null
|
||||
--trace(-t) # Output trace
|
||||
...args
|
||||
]
|
||||
|
||||
# Root source tree
|
||||
extern "apt-src location" [
|
||||
--help(-h) # Display help and exit
|
||||
--build(-b) # Build source packages
|
||||
--installdebs(-i) # Install after build
|
||||
--patch(-p) # Patch local changes
|
||||
--here(-c) # Run on current dir
|
||||
--upstream-version # Omit debian version
|
||||
--keep-built(-k) # Do not del built files
|
||||
--no-delete-source(-n) # Do not del source files
|
||||
--version # Source tree version
|
||||
--quiet(-q) # Output to /dev/null
|
||||
--trace(-t) # Output trace
|
||||
...args
|
||||
]
|
||||
|
||||
# Version of source package
|
||||
extern "apt-src version" [
|
||||
--help(-h) # Display help and exit
|
||||
--build(-b) # Build source packages
|
||||
--installdebs(-i) # Install after build
|
||||
--patch(-p) # Patch local changes
|
||||
--here(-c) # Run on current dir
|
||||
--upstream-version # Omit debian version
|
||||
--keep-built(-k) # Do not del built files
|
||||
--no-delete-source(-n) # Do not del source files
|
||||
--version # Source tree version
|
||||
--quiet(-q) # Output to /dev/null
|
||||
--trace(-t) # Output trace
|
||||
...args
|
||||
]
|
||||
|
||||
# Name of the source package
|
||||
extern "apt-src name" [
|
||||
--help(-h) # Display help and exit
|
||||
--build(-b) # Build source packages
|
||||
--installdebs(-i) # Install after build
|
||||
--patch(-p) # Patch local changes
|
||||
--here(-c) # Run on current dir
|
||||
--upstream-version # Omit debian version
|
||||
--keep-built(-k) # Do not del built files
|
||||
--no-delete-source(-n) # Do not del source files
|
||||
--version # Source tree version
|
||||
--quiet(-q) # Output to /dev/null
|
||||
--trace(-t) # Output trace
|
||||
...args
|
||||
]
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
# Display help and exit
|
||||
extern "apt-zip-inst" [
|
||||
--help(-h) # Display help and exit
|
||||
--version(-V) # Display version and exit
|
||||
--medium(-m) # Removable medium
|
||||
--aptgetaction(-a) # Select an action
|
||||
--packages(-p) # List of packages to install
|
||||
--fix-broken(-f) # Fix broken option
|
||||
--skip-mount # Specify a non-mountpoint dir
|
||||
...args
|
||||
]
|
||||
|
||||
# Select an action
|
||||
extern "apt-zip-inst dselect-upgrade upgrade dist-upgrade" [
|
||||
--help(-h) # Display help and exit
|
||||
--version(-V) # Display version and exit
|
||||
--medium(-m) # Removable medium
|
||||
--aptgetaction(-a) # Select an action
|
||||
--packages(-p) # List of packages to install
|
||||
--fix-broken(-f) # Fix broken option
|
||||
--skip-mount # Specify a non-mountpoint dir
|
||||
...args
|
||||
]
|
||||
+63
@@ -0,0 +1,63 @@
|
||||
# Display help and exit
|
||||
extern "apt-zip-list" [
|
||||
--help(-h) # Display help and exit
|
||||
--version(-V) # Display version and exit
|
||||
--medium(-m) # Removable medium
|
||||
--aptgetaction(-a) # Select an action
|
||||
--packages(-p) # List of packages to install
|
||||
--fix-broken(-f) # Fix broken option
|
||||
--skip-mount # Specify a non-mountpoint dir
|
||||
--method(-M) # Select a method
|
||||
--options(-o) # Specify options
|
||||
--accept(-A) # Accept protocols
|
||||
--reject(-R) # Reject protocols
|
||||
...args
|
||||
]
|
||||
|
||||
# Select an action
|
||||
extern "apt-zip-list dselect-upgrade upgrade dist-upgrade" [
|
||||
--help(-h) # Display help and exit
|
||||
--version(-V) # Display version and exit
|
||||
--medium(-m) # Removable medium
|
||||
--aptgetaction(-a) # Select an action
|
||||
--packages(-p) # List of packages to install
|
||||
--fix-broken(-f) # Fix broken option
|
||||
--skip-mount # Specify a non-mountpoint dir
|
||||
--method(-M) # Select a method
|
||||
--options(-o) # Specify options
|
||||
--accept(-A) # Accept protocols
|
||||
--reject(-R) # Reject protocols
|
||||
...args
|
||||
]
|
||||
|
||||
# Specify options
|
||||
extern "apt-zip-list tar restart" [
|
||||
--help(-h) # Display help and exit
|
||||
--version(-V) # Display version and exit
|
||||
--medium(-m) # Removable medium
|
||||
--aptgetaction(-a) # Select an action
|
||||
--packages(-p) # List of packages to install
|
||||
--fix-broken(-f) # Fix broken option
|
||||
--skip-mount # Specify a non-mountpoint dir
|
||||
--method(-M) # Select a method
|
||||
--options(-o) # Specify options
|
||||
--accept(-A) # Accept protocols
|
||||
--reject(-R) # Reject protocols
|
||||
...args
|
||||
]
|
||||
|
||||
# Accept protocols
|
||||
extern "apt-zip-list http ftp" [
|
||||
--help(-h) # Display help and exit
|
||||
--version(-V) # Display version and exit
|
||||
--medium(-m) # Removable medium
|
||||
--aptgetaction(-a) # Select an action
|
||||
--packages(-p) # List of packages to install
|
||||
--fix-broken(-f) # Fix broken option
|
||||
--skip-mount # Specify a non-mountpoint dir
|
||||
--method(-M) # Select a method
|
||||
--options(-o) # Specify options
|
||||
--accept(-A) # Accept protocols
|
||||
--reject(-R) # Reject protocols
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
#
|
||||
extern "apt" [
|
||||
|
||||
...args
|
||||
]
|
||||
+137
@@ -0,0 +1,137 @@
|
||||
# Display a brief help message. Identical to the help action
|
||||
extern "aptitude" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Remove any cached packages which can no longer be downloaded
|
||||
extern "aptitude autoclean" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Remove all downloaded .deb files from the package cache directory
|
||||
extern "aptitude clean" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Forget all internal information about what packages are new
|
||||
extern "aptitude forget-new" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Cancel all scheduled actions on all packages
|
||||
extern "aptitude keep-all" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Update the list of available packages from the apt sources
|
||||
extern "aptitude update" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Upgrade installed packages to their most recent version
|
||||
extern "aptitude safe-upgrade" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Download and displays the Debian changelog for the packages
|
||||
extern "aptitude changelog" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Upgrade, removing or installing packages as necessary
|
||||
extern "aptitude full-upgrade" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Download the packages to the current directory
|
||||
extern "aptitude download" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Forbid the upgrade to a particular version
|
||||
extern "aptitude forbid-version" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Ignore the packages by future upgrade commands
|
||||
extern "aptitude hold" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Install the packages
|
||||
extern "aptitude install" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Cancel any scheduled actions on the packages
|
||||
extern "aptitude keep" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Mark packages as automatically installed
|
||||
extern "aptitude markauto" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Remove and delete all associated configuration and data files
|
||||
extern "aptitude purge" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Reinstall the packages
|
||||
extern "aptitude reinstall" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Remove the packages
|
||||
extern "aptitude remove" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Display detailed information about the packages
|
||||
extern "aptitude show" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Consider the packages by future upgrade commands
|
||||
extern "aptitude unhold" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Mark packages as manually installed
|
||||
extern "aptitude unmarkauto" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Search for packages matching one of the patterns
|
||||
extern "aptitude search" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Display brief summary of the available commands and options
|
||||
extern "aptitude help" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,362 @@
|
||||
# Debugging command
|
||||
extern "arc" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Implements shell completion
|
||||
extern "arc shell-complete" [
|
||||
--current # Current term in the argument list being completed
|
||||
...args
|
||||
]
|
||||
|
||||
# Reads an arc configuration option
|
||||
extern "arc get-config" [
|
||||
--verbose # Show detailed information about options
|
||||
...args
|
||||
]
|
||||
|
||||
# Download a file to local disk
|
||||
extern "arc download" [
|
||||
--as # Save the file with a specific name rather than the default
|
||||
--show # Write file to stdout instead of to disk
|
||||
...args
|
||||
]
|
||||
|
||||
# List your open Differential revisions
|
||||
extern "arc list" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Run static analysis on changes to check for mistakes
|
||||
extern "arc lint" [
|
||||
--engine # Override configured lint engine for this project
|
||||
--apply-patches # Apply patches suggested by lint to the working copy
|
||||
--severity # Set minimum message severity
|
||||
--never-apply-patches # Never apply patches suggested by lint
|
||||
--rev # Lint changes since a specific revision
|
||||
--outfile # Output the linter results to a file
|
||||
--lintall # Show all lint warnings, not just those on changed lines
|
||||
--amend-all # When linting git repositories, amend HEAD with all patches
|
||||
--everything # Lint all files in the project
|
||||
--output # Specify how results will be displayed
|
||||
--only-new # Display only messages not present in the original code
|
||||
--only-changed # Show lint warnings just on changed lines
|
||||
--amend-autofixes # When linting git repositories, amend HEAD with autofix
|
||||
--search # Search for linters
|
||||
--verbose # Show detailed information, including options
|
||||
...args
|
||||
]
|
||||
|
||||
# In the first form, list objects youve flagged
|
||||
extern "arc flag" [
|
||||
--edit # Edit the flag on an object
|
||||
--color # Set the color of a flag
|
||||
--clear # Delete the flag on an object
|
||||
--note # Set the note on a flag
|
||||
...args
|
||||
]
|
||||
|
||||
# Export the local changeset to a file
|
||||
extern "arc export" [
|
||||
--unified # Export change as a unified patch
|
||||
--git # Export change as a git patch
|
||||
--encoding # Attempt to convert non UTF-8 patch into specified encoding
|
||||
--arcbundle # Export change as an arc bundle
|
||||
--diff # Export from Differential diff
|
||||
--revision # Export from a Differential revision
|
||||
...args
|
||||
]
|
||||
|
||||
# Open a file or object in your web browser
|
||||
extern "arc browse" [
|
||||
--force # Open arguments as paths, even if they do not exist in the working copy
|
||||
--branch # Default branch name to view on server
|
||||
...args
|
||||
]
|
||||
|
||||
# Quickly create a task for yourself
|
||||
extern "arc todo" [
|
||||
--cc # Other users to CC on the new task
|
||||
--project # Projects to assign to the task
|
||||
--browse # After creating the task, open it in a web browser
|
||||
...args
|
||||
]
|
||||
|
||||
# what they do and which versions are installed
|
||||
extern "arc linters" [
|
||||
--search # Search for linters
|
||||
--verbose # Show detailed information, including options
|
||||
...args
|
||||
]
|
||||
|
||||
# Show what youre currently tracking in Phrequent
|
||||
extern "arc time" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Stop tracking work in Phrequent
|
||||
extern "arc stop" [
|
||||
--note # A note to attach to the tracked time
|
||||
...args
|
||||
]
|
||||
|
||||
# Create an alias
|
||||
extern "arc alias" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Sets an arc configuration option
|
||||
extern "arc set-config" [
|
||||
--local # Set a local config value instead of a user one
|
||||
...args
|
||||
]
|
||||
|
||||
# Start tracking work in Phrequent
|
||||
extern "arc start" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Close a task or otherwise update its status
|
||||
extern "arc close" [
|
||||
--message # Provide a comment with your status change
|
||||
--list-statuses # Show available status options and exit
|
||||
--quiet # Do not print a success message
|
||||
--finalize # Close only if the repository is untracked and the revision is accepted
|
||||
...args
|
||||
]
|
||||
|
||||
# Publish an accepted revision after review
|
||||
extern "arc land" [
|
||||
--preview # Prints the commits that would be landed
|
||||
--remote # Push to a remote other than the default
|
||||
--delete-remote # Delete the feature branch in the remote after landing it
|
||||
--update-with-rebase # When updating the feature branch, use rebase instead of merge
|
||||
--squash # Use squash strategy
|
||||
--keep-branch # Keep the feature branch
|
||||
--merge # Use merge strategy
|
||||
--update-with-merge # When updating the feature branch, use merge instead of rebase
|
||||
--hold # Prepare the change to be pushed, but do not actually push it
|
||||
--onto # Land feature branch onto a branch other than the default
|
||||
--revision # Use the message from a specific revision
|
||||
...args
|
||||
]
|
||||
|
||||
# Show which commits will be selected
|
||||
extern "arc which" [
|
||||
--show-base # Print base commit only and exit
|
||||
--base # Additional rules for determining base revision
|
||||
--head # Specify the end of the commit range to select
|
||||
--any-status # Show committed and abandoned revisions
|
||||
...args
|
||||
]
|
||||
|
||||
# Alias for arc feature
|
||||
extern "arc bookmark" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Amend the working copy
|
||||
extern "arc amend" [
|
||||
--revision # Use the message from a specific revision
|
||||
--show # Show the amended commit message
|
||||
...args
|
||||
]
|
||||
|
||||
# Upgrade arcanist and libphutil to the latest versions
|
||||
extern "arc upgrade" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Shows the help
|
||||
extern "arc help" [
|
||||
--full # Print detailed information about each command
|
||||
...args
|
||||
]
|
||||
|
||||
# Share and grab text using the Paste application
|
||||
extern "arc paste" [
|
||||
--lang # Language for syntax highlighting
|
||||
--json # Output in JSON format
|
||||
--title # Title for the paste
|
||||
...args
|
||||
]
|
||||
|
||||
# Commit a revision which has been accepted by a reviewer
|
||||
extern "arc commit" [
|
||||
--revision # Commit a specific revision
|
||||
--show # Show the command which would be issued
|
||||
...args
|
||||
]
|
||||
|
||||
# Apply changes to the working copy
|
||||
extern "arc patch" [
|
||||
--force # Do not run any sanity checks
|
||||
--encoding # Attempt to convert non UTF-8 patch into specified encoding
|
||||
--nocommit # Do not commit the changes
|
||||
--update # Update the local working copy before applying the patch
|
||||
--patch # Apply changes from a git patch file or unified patch file
|
||||
--arcbundle # Apply changes from an arc bundlej
|
||||
--skip-dependencies # Do not apply dependencies
|
||||
--diff # Apply changes from a Differential diff
|
||||
--nobranch # Do not create a branch
|
||||
--revision # Apply changes from a Differential revision
|
||||
...args
|
||||
]
|
||||
|
||||
# Installs Conduit credentials into your ~/.arcc
|
||||
extern "arc install-certificate" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Please use backout instead
|
||||
extern "arc revert" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Upload a file from local disk
|
||||
extern "arc upload" [
|
||||
--json # Output upload information in JSON format
|
||||
--temporary # Mark the file as temporary
|
||||
...args
|
||||
]
|
||||
|
||||
# Alias for arc feature
|
||||
extern "arc branch" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Theres only one way to find out
|
||||
extern "arc anoid" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show blame for the lines you changed
|
||||
extern "arc cover" [
|
||||
--rev # Cover changes since a specific revision
|
||||
...args
|
||||
]
|
||||
|
||||
# Close a revision
|
||||
extern "arc close-revision" [
|
||||
--quiet # Do not print a success message
|
||||
--finalize # Close only if the repository is untracked and the revision is accepted
|
||||
...args
|
||||
]
|
||||
|
||||
# View all assigned tasks
|
||||
extern "arc tasks" [
|
||||
--status # Show tasks that are open or closed, default is open
|
||||
--owner # Only show tasks assigned to the given username,
|
||||
--unassigned # Only show tasks that are not assigned
|
||||
--limit # Limit the amount of tasks outputted, default is all
|
||||
--order # Arrange tasks based on priority, created, or modified,
|
||||
...args
|
||||
]
|
||||
|
||||
# A wrapper on git branch or hg bookmark
|
||||
extern "arc feature" [
|
||||
--output # Specify the output format
|
||||
--view-all # Include closed and abandoned revisions
|
||||
--by-status # Sort branches by status instead of time
|
||||
...args
|
||||
]
|
||||
|
||||
# Run unit tests that cover specified paths
|
||||
extern "arc unit" [
|
||||
--engine # Override configured unit engine for this project
|
||||
--detailed-coverage # Show a detailed coverage report on the CLI
|
||||
--target # Record a copy of the test results on the specified build target
|
||||
--ugly # Use uglier formatting
|
||||
--rev # Run unit tests covering changes since a specific revision
|
||||
--everything # Run every test
|
||||
--json # Report results in JSON format
|
||||
--coverage # Always enable coverage information
|
||||
--output # Specify the output format
|
||||
--no-coverage # Always disable coverage information
|
||||
...args
|
||||
]
|
||||
|
||||
# Backouts on a previous commit
|
||||
extern "arc backout" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Make a raw Conduit method call
|
||||
extern "arc call-conduit" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Generate a Differential diff or revision from local changes
|
||||
extern "arc diff" [
|
||||
--raw-command # Generate diff by executing a specified command
|
||||
--encoding # Attempt to convert non UTF-8 hunks into specified encoding
|
||||
--cc # When creating a revision, add CCs
|
||||
--reviewers # When creating a revision, add reviewers
|
||||
--skip-staging # Do not copy changes to the staging area
|
||||
--raw # Read diff from stdin
|
||||
--uncommitted # Suppress warning about uncommitted changes
|
||||
--message-file # Read revision information from file
|
||||
--nolint # Do not run lint
|
||||
--message # Use the specified message when updating a revision
|
||||
--plan-changes # Create or update a revision without requesting a code review
|
||||
--browse # After creating a diff or revision, open it in a web browser
|
||||
--create # Always create a new revision
|
||||
--cache # Disable lint cache
|
||||
--use-commit-message # Read revision information from a specific commit
|
||||
--only # Only generate a diff, without running lint, unit tests, or other
|
||||
--skip-binaries # Do not upload binaries
|
||||
--preview # only create a diff
|
||||
--amend-autofixes # When linting git repositories, amend HEAD with autofix
|
||||
--apply-patches # Apply patches suggested by lint
|
||||
--head # Specify the end of the commit range
|
||||
--verbatim # When creating a revision, try to use the working copy commit
|
||||
--less-context # Create a diff with a few lines of context.
|
||||
--advice # Require excuse for lint advice in addition to lint warnings and errors
|
||||
--json # Emit machine-readable JSON
|
||||
--update # Always update a specific revision
|
||||
--ignore-unsound-tests # Ignore unsound test failures without prompting
|
||||
--excuse # Provide a prepared in advance excuse for any lints/tests
|
||||
--base # Additional rules for determining base revision
|
||||
--no-amend # Never amend commits in the working copy with lint patches
|
||||
--add-all # Automatically add all unstaged and uncommitted
|
||||
--never-apply-patches # Never apply patches suggested by lint
|
||||
--edit # Edit revision information
|
||||
--nounit # Do not run unit tests
|
||||
--lintall # Raise all lint warnings
|
||||
--amend-all # When linting git repositories, amend HEAD with all patches
|
||||
--no-diff # Only run lint and unit tests
|
||||
--allow-untracked # Skip checks for untracked files in the working copy
|
||||
--only-new # Display only new lint messages
|
||||
--no-coverage # Always disable coverage information
|
||||
...args
|
||||
]
|
||||
|
||||
# Create or update a libphutil library
|
||||
extern "arc liberate" [
|
||||
--remap # Run the remap step of liberation
|
||||
--upgrade # Upgrade library to v2
|
||||
--verify # Run the verify step of liberation
|
||||
--all # Drop the module cache before liberating
|
||||
--force-update # Force the library map to be updated
|
||||
--library-name # Set the library name
|
||||
...args
|
||||
]
|
||||
|
||||
# Shows the current version of arcanist
|
||||
extern "arc version" [
|
||||
|
||||
...args
|
||||
]
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
# List installed Java environments and enabled one
|
||||
extern "archlinux-java status" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Force <JAVA_ENV> as default
|
||||
extern "archlinux-java set" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Unset current default Java environment
|
||||
extern "archlinux-java unset" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Return the short name of the Java environment set as default
|
||||
extern "archlinux-java get" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Fix an invalid/broken default Java environment configuration
|
||||
extern "archlinux-java fix" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show help
|
||||
extern "archlinux-java help" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,4 @@
|
||||
extern "arepack" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
# Verbose mode
|
||||
extern "arp" [
|
||||
--verbose(-v) # Verbose mode
|
||||
--numeric(-n) # Numerical address
|
||||
--use-device(-D) # Use hardware address
|
||||
--file(-f) # Take addr from filename, default /etc/ethers
|
||||
...args
|
||||
]
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
[#
|
||||
extern "" [
|
||||
|
||||
...args
|
||||
]]
|
||||
|
||||
[# Base directory containing the document
|
||||
extern "asciidoctor" [
|
||||
--base-dir(-B) # Base directory containing the document
|
||||
--safe # Set safe mode level to safe
|
||||
--attribute(-a) # Define a document attribute
|
||||
--destination-dir(-D) # Destination output directory
|
||||
--template-engine(-E) # Template engine to use
|
||||
--load-path(-I) # Add a directory to the load path
|
||||
--section-numbers(-n) # Auto-number section titles
|
||||
--out-file(-o) # Output file
|
||||
--source-dir(-R) # Source directory
|
||||
--require(-r) # Require the specified library
|
||||
--no-header-footer(-s) # Output an embedded document
|
||||
--template-dir(-T) # A directory containing custom converter templates
|
||||
--quiet(-q) # Be quiet
|
||||
--trace # Include backtrace information
|
||||
--verbose(-v) # Be verbose
|
||||
--warnings(-w) # Turn on script warnings
|
||||
--timings(-t) # Print timings report
|
||||
--version(-V) # Print program version
|
||||
...args
|
||||
]]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Display version and exit
|
||||
extern "at" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Limiting load factor
|
||||
extern "atd" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,19 @@
|
||||
# Run in development mode
|
||||
extern "atom" [
|
||||
--dev(-d) # Run in development mode
|
||||
--foreground(-f) # Keep main process in foreground
|
||||
--help(-h) # Print usage message
|
||||
--new-window(-n) # Open a new window
|
||||
--profile-startup # Profile startup execution time
|
||||
--safe # Run in safe mode
|
||||
--benchmark # Run the specified benchmarks in a new window
|
||||
--benchmark-test # Run a faster version of the benchmarks in headless mode
|
||||
--test(-t) # Run the specified specs and exit with error code on failures
|
||||
--main-process(-m) # Run the specified specs in the main process
|
||||
--version(-v) # Print the version information
|
||||
--wait(-w) # Wait for editor to be closed before returning
|
||||
--clear-window-state # Delete all Atom environment state
|
||||
--enable-electron-logging # Enable low-level logging messages from Electron
|
||||
--add(-a) # Open path as a new project in last used window
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
# list files in archive (als)
|
||||
extern "atool" [
|
||||
--list(-l) # list files in archive (als)
|
||||
--extract(-x) # extract files from archive (aunpack)
|
||||
--add(-a) # create archive (apack)
|
||||
--cat(-c) # extract file to standard out (acat)
|
||||
--diff(-d) # generate a diff between two archives (adiff)
|
||||
--repack(-r) # repack archives to a different format (arepack)
|
||||
--help # display this help and exit
|
||||
--version # output version information and exit
|
||||
--each(-e) # execute command above for each file specified
|
||||
--format(-F) # override archive format (see below)
|
||||
--subdir(-D) # always create subdirectory when extracting
|
||||
--force(-f) # allow overwriting of local files
|
||||
--quiet(-q) # decrease verbosity level by one
|
||||
--verbose(-v) # increase verbosity level by one
|
||||
--verbosity(-V) # specify verbosity (0, 1 or 2)
|
||||
--page(-p) # send output through pager
|
||||
--null(-0) # filenames from standard in are null-byte separated
|
||||
--explain(-E) # explain what is being done by atool
|
||||
--simulate(-S) # simulation mode - no filesystem changes are made
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Display version and exit
|
||||
extern "atq" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Display version and exit
|
||||
extern "atrm" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,11 @@
|
||||
# Set the file attribute
|
||||
extern "attrib +" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show help
|
||||
extern "attrib /?" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
#
|
||||
extern "aunpack" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Synchronize AUR packages
|
||||
extern "aura" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
# Show syntax help
|
||||
extern "avifdec" [
|
||||
--help(-h) # Show syntax help
|
||||
--version(-V) # Show the version number
|
||||
--info(-i) # Display all image information
|
||||
--ignore-icc # Ignore an embedded ICC profile
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,9 @@
|
||||
# Show syntax help
|
||||
extern "avifenc" [
|
||||
--help(-h) # Show syntax help
|
||||
--version(-V) # Show the version number
|
||||
--lossless(-l) # Set all defaults to encode losslessly
|
||||
--stdin # Read y4m frames from stdin
|
||||
--ignore-icc # Ignore an embedded ICC profile
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,4 @@
|
||||
extern "aws" [
|
||||
|
||||
...args
|
||||
]
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
# Block-size Specify the size of blocks in bytes
|
||||
extern "badblocks" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
# Decode data
|
||||
extern "base64" [
|
||||
--decode(-d) # Decode data
|
||||
--ignore-garbage(-i) # When decoding, ignore non-alphabet characters
|
||||
--help # Display help
|
||||
--version # Display version
|
||||
...args
|
||||
]
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
extern "bb-wrapper" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,11 @@
|
||||
# Force interactive mode
|
||||
extern "bc" [
|
||||
--interactive(-i) # Force interactive mode
|
||||
--mathlib(-l) # Define math library
|
||||
--warn(-w) # Give warnings for extensions to POSIX bc
|
||||
--standard(-s) # Process exactly POSIX bc
|
||||
--quiet(-q) # Do not print the GNU welcome
|
||||
--version(-v) # Display version and exit
|
||||
--help(-h) # Display help and exit
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Classic mode: goes back to the first directory named as the string
|
||||
extern "bd" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Display help and exit
|
||||
extern "begin" [
|
||||
--help(-h) # Display help and exit
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Display help and exit
|
||||
extern "bg" [
|
||||
--help(-h) # Display help and exit
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,16 @@
|
||||
# Show unavailable key bindings/erase all bindings
|
||||
extern "bind" [
|
||||
--all(-a) # Show unavailable key bindings/erase all bindings
|
||||
--erase(-e) # Erase mode
|
||||
--function-names(-f) # Print names of available functions
|
||||
--help(-h) # Display help and exit
|
||||
--key(-k) # Specify key name, not sequence
|
||||
--key-names(-K) # Print names of available keys
|
||||
--mode(-M) # Specify the bind mode that the bind is used in
|
||||
--sets-mode(-m) # Change current mode after bind is executed
|
||||
--list-modes(-L) # Display a list of defined bind modes
|
||||
--silent(-s) # Operate silently
|
||||
--preset # Operate on preset bindings
|
||||
--user # Operate on user bindings
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,16 @@
|
||||
# Generate file with macro definitions for token type names
|
||||
extern "bison" [
|
||||
--defines(-d) # Generate file with macro definitions for token type names
|
||||
--graph(-g) # Output a VCG definition of the LALR(1) grammar automaton
|
||||
--token-table(-k) # This switch causes the name
|
||||
--no-lines(-l) # Dont put any #line preprocessor commands in the parser file
|
||||
--no-parser(-n) # Generate only declarations, not parser code
|
||||
--output(-o) # Specify the name outfile for the parser file
|
||||
--name-prefix(-p) # External symbols start with prefix instead of yy
|
||||
--debug(-t) # Enable debugging facilities on compilation
|
||||
--verbose(-v) # Generate file with descriptions of the parser states
|
||||
--version(-V) # Print version number
|
||||
--help(-h) # Print summary of the options
|
||||
--fixed-output-files(-y) # Equivalent to -o y.tab.c
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,17 @@
|
||||
# Format all input files like typing stubs regardless of file extension
|
||||
extern "black" [
|
||||
--pyi # Format all input files like typing stubs regardless of file extension
|
||||
--skip-string-normalization(-S) # Don't normalize string quotes or prefixes
|
||||
--skip-magic-trailing-comma(-C) # Don't use trailing commas as a reason to split lines
|
||||
--check # Don't write the files back, just return the status
|
||||
--diff # Don't write the files back, just output a diff for each file
|
||||
--color # Show colored diff
|
||||
--no-color # Do not color diff output
|
||||
--fast # Skip temporary sanity checks
|
||||
--safe # Do not skip temporary sanity checks
|
||||
--quiet(-q) # Only print error messages to stderr
|
||||
--verbose(-v) # Report files that were unchanged or ignored
|
||||
--version # Show version
|
||||
--help(-h) # Show help
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
# Display help and exit
|
||||
extern "block" [
|
||||
--help(-h) # Display help and exit
|
||||
--erase(-e) # Remove the topmost global event block
|
||||
--local(-l) # Create a local (automatically erased) event block
|
||||
--global(-g) # Create a global (manually erased) event block
|
||||
...args
|
||||
]
|
||||
+443
@@ -0,0 +1,443 @@
|
||||
# List available controllers
|
||||
extern "bluetoothctl list" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Controller information
|
||||
extern "bluetoothctl show" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Select default controller
|
||||
extern "bluetoothctl select" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List available devices
|
||||
extern "bluetoothctl devices" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List paired devices
|
||||
extern "bluetoothctl paired-devices" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set controller alias
|
||||
extern "bluetoothctl system-alias" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Reset controller alias
|
||||
extern "bluetoothctl reset-alias" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set controller power
|
||||
extern "bluetoothctl power" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set controller pairable mode
|
||||
extern "bluetoothctl pairable" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set controller discoverable mode
|
||||
extern "bluetoothctl discoverable" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set discoverable timeout
|
||||
extern "bluetoothctl discoverable-timeout" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Enable/disable agent with given capability
|
||||
extern "bluetoothctl agent" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set agent as the default one
|
||||
extern "bluetoothctl default-agent" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Enable/disable advertising with given type
|
||||
extern "bluetoothctl advertise" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set device alias
|
||||
extern "bluetoothctl set-alias" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Scan for devices
|
||||
extern "bluetoothctl scan" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Device information
|
||||
extern "bluetoothctl info" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Pair with device
|
||||
extern "bluetoothctl pair" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Cancel pairing with device
|
||||
extern "bluetoothctl cancel-pairing" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Trust device
|
||||
extern "bluetoothctl trust" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Untrust device
|
||||
extern "bluetoothctl untrust" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Block device
|
||||
extern "bluetoothctl block" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Unblock device
|
||||
extern "bluetoothctl unblock" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Remove device
|
||||
extern "bluetoothctl remove" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Connect device
|
||||
extern "bluetoothctl connect" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Disconnect device
|
||||
extern "bluetoothctl disconnect" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise uuids
|
||||
extern "bluetoothctl scan.uuids" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise service data
|
||||
extern "bluetoothctl scan.service" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise manufacturer data
|
||||
extern "bluetoothctl scan.manufacturer" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise data
|
||||
extern "bluetoothctl scan.data" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise discoverable
|
||||
extern "bluetoothctl scan.discoverable" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise discoverable timeout
|
||||
extern "bluetoothctl scan.discoverable-timeout" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show/Enable/Disable TX power to be advertised
|
||||
extern "bluetoothctl scan.tx-power" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Configure local name to be advertised
|
||||
extern "bluetoothctl scan.name" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Configure custom appearance to be advertised
|
||||
extern "bluetoothctl scan.appearance" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise duration
|
||||
extern "bluetoothctl scan.duration" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise timeout
|
||||
extern "bluetoothctl scan.timeout" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise secondary channel
|
||||
extern "bluetoothctl scan.secondary" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Clear advertise config
|
||||
extern "bluetoothctl scan.clear" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List attributes
|
||||
extern "bluetoothctl gatt.list-attributes" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Select attribute
|
||||
extern "bluetoothctl gatt.select-attribute" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Select attribute
|
||||
extern "bluetoothctl gatt.attribute-info" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Read attribute value
|
||||
extern "bluetoothctl gatt.read" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Write attribute value
|
||||
extern "bluetoothctl gatt.write" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Acquire Write file descriptor
|
||||
extern "bluetoothctl gatt.acquire-write" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Release Write file descriptor
|
||||
extern "bluetoothctl gatt.release-write" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Acquire Notify file descriptor
|
||||
extern "bluetoothctl gatt.acquire-notify" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Release Notify file descriptor
|
||||
extern "bluetoothctl gatt.release-notify" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Notify attribute value
|
||||
extern "bluetoothctl gatt.notify" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Clone a device or attribute
|
||||
extern "bluetoothctl gatt.clone" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Register profile to connect
|
||||
extern "bluetoothctl gatt.register-application" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Unregister profile
|
||||
extern "bluetoothctl gatt.unregister-application" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Register application service
|
||||
extern "bluetoothctl gatt.register-service" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Unregister application service
|
||||
extern "bluetoothctl gatt.unregister-service" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Register as Included service in
|
||||
extern "bluetoothctl gatt.register-includes" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Unregister Included service
|
||||
extern "bluetoothctl gatt.unregister-includes" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Register application characteristic
|
||||
extern "bluetoothctl gatt.register-characteristic" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Unregister application characteristic
|
||||
extern "bluetoothctl gatt.unregister-characteristic" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Register application descriptor
|
||||
extern "bluetoothctl gatt.register-descriptor" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Unregister application descriptor
|
||||
extern "bluetoothctl gatt.unregister-descriptor" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise uuids
|
||||
extern "bluetoothctl advertise.uuids" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise service data
|
||||
extern "bluetoothctl advertise.service" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise manufacturer data
|
||||
extern "bluetoothctl advertise.manufacturer" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise data
|
||||
extern "bluetoothctl advertise.data" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise discoverable
|
||||
extern "bluetoothctl advertise.discoverable" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise discoverable timeout
|
||||
extern "bluetoothctl advertise.discoverable-timeout" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show/Enable/Disable TX power to be advertised
|
||||
extern "bluetoothctl advertise.tx-power" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Configure local name to be advertised
|
||||
extern "bluetoothctl advertise.name" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Configure custom appearance to be advertised
|
||||
extern "bluetoothctl advertise.appearance" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise duration
|
||||
extern "bluetoothctl advertise.duration" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise timeout
|
||||
extern "bluetoothctl advertise.timeout" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set/Get advertise secondary channel
|
||||
extern "bluetoothctl advertise.secondary" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Clear advertise config
|
||||
extern "bluetoothctl advertise.clear" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
#
|
||||
extern "bluetoothctl on off" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,77 @@
|
||||
# Show status of EFI variables
|
||||
extern "bootctl status" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Install systemd-boot
|
||||
extern "bootctl install" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Update systemd-boot
|
||||
extern "bootctl update" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Remove systemd-boot
|
||||
extern "bootctl remove" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Test whether systemd-boot is installed
|
||||
extern "bootctl is-installed" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Initialize random seed
|
||||
extern "bootctl random-seed" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Query or set system options string
|
||||
extern "bootctl systemd-efi-options" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Query or set reboot-to-firmware EFI flag
|
||||
extern "bootctl reboot-to-firmware" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
#
|
||||
extern "bootctl true false" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List boot loader entries
|
||||
extern "bootctl list" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set default boot loader entry
|
||||
extern "bootctl set-default" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set default boot loader entry (Once)
|
||||
extern "bootctl set-oneshot" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show this help
|
||||
extern "bootctl" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,467 @@
|
||||
# Add blob
|
||||
extern "bosh add-blob" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Alias environment to save URL and CA certificate
|
||||
extern "bosh alias-env" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Attaches disk to an instance
|
||||
extern "bosh attach-disk" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List blobs
|
||||
extern "bosh blobs" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Cancel task at its next checkpoint
|
||||
extern "bosh cancel-task" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Clean up releases, stemcells, disks, etc.
|
||||
extern "bosh clean-up" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Cloud consistency check and interactive repair
|
||||
extern "bosh cloud-check" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show current cloud config
|
||||
extern "bosh cloud-config" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show current config
|
||||
extern "bosh config" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List configs
|
||||
extern "bosh configs" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show current CPI config
|
||||
extern "bosh cpi-config" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Create or update BOSH environment
|
||||
extern "bosh create-env" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Create release
|
||||
extern "bosh create-release" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Delete config
|
||||
extern "bosh delete-config" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Delete deployment
|
||||
extern "bosh delete-deployment" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Delete disk
|
||||
extern "bosh delete-disk" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Delete BOSH environment
|
||||
extern "bosh delete-env" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Delete release
|
||||
extern "bosh delete-release" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Delete snapshot
|
||||
extern "bosh delete-snapshot" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Delete all snapshots in a deployment
|
||||
extern "bosh delete-snapshots" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Delete stemcell
|
||||
extern "bosh delete-stemcell" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Delete VM
|
||||
extern "bosh delete-vm" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Update deployment
|
||||
extern "bosh deploy" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show deployment information
|
||||
extern "bosh deployment" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List deployments
|
||||
extern "bosh deployments" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Diff two configs by ID
|
||||
extern "bosh diff-config" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List disks
|
||||
extern "bosh disks" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show environment
|
||||
extern "bosh environment" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List environments
|
||||
extern "bosh environments" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List errands
|
||||
extern "bosh errands" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show event details
|
||||
extern "bosh event" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List events
|
||||
extern "bosh events" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Export the compiled release to a tarball
|
||||
extern "bosh export-release" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Create final release from dev release tarball
|
||||
extern "bosh finalize-release" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Generate job
|
||||
extern "bosh generate-job" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Generate package
|
||||
extern "bosh generate-package" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show this help message
|
||||
extern "bosh help" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Ignore an instance
|
||||
extern "bosh ignore" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Initialize release
|
||||
extern "bosh init-release" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List release contents such as jobs
|
||||
extern "bosh inspect-release" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List all instances in a deployment
|
||||
extern "bosh instances" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Interpolates variables into a manifest
|
||||
extern "bosh interpolate" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List current locks
|
||||
extern "bosh locks" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Log in
|
||||
extern "bosh log-in" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Log out
|
||||
extern "bosh log-out" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Fetch logs from instance(s)
|
||||
extern "bosh logs" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show deployment manifest
|
||||
extern "bosh manifest" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Orphan disk
|
||||
extern "bosh orphan-disk" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Recreate instance(s)
|
||||
extern "bosh recreate" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List releases
|
||||
extern "bosh releases" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Remove blob
|
||||
extern "bosh remove-blob" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Repack stemcell
|
||||
extern "bosh repack-stemcell" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Reset release
|
||||
extern "bosh reset-release" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Restart instance(s)
|
||||
extern "bosh restart" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Run errand
|
||||
extern "bosh run-errand" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show current runtime config
|
||||
extern "bosh runtime-config" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# SCP to/from instance(s)
|
||||
extern "bosh scp" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List snapshots
|
||||
extern "bosh snapshots" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# SSH into instance(s)
|
||||
extern "bosh ssh" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Start instance(s)
|
||||
extern "bosh start" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List stemcells
|
||||
extern "bosh stemcells" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Stop instance(s)
|
||||
extern "bosh stop" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Sync blobs
|
||||
extern "bosh sync-blobs" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Take snapshot
|
||||
extern "bosh take-snapshot" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show task status and start tracking its output
|
||||
extern "bosh task" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List running or recent tasks
|
||||
extern "bosh tasks" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Unignore an instance
|
||||
extern "bosh unignore" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Update current cloud config
|
||||
extern "bosh update-cloud-config" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Update config
|
||||
extern "bosh update-config" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Update current CPI config
|
||||
extern "bosh update-cpi-config" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Enable/disable resurrection
|
||||
extern "bosh update-resurrection" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Update current runtime config
|
||||
extern "bosh update-runtime-config" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Upload blobs
|
||||
extern "bosh upload-blobs" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Upload release
|
||||
extern "bosh upload-release" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Upload stemcell
|
||||
extern "bosh upload-stemcell" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List variables
|
||||
extern "bosh variables" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Vendor package
|
||||
extern "bosh vendor-package" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List all VMs in all deployments
|
||||
extern "bosh vms" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Display help and exit
|
||||
extern "break" [
|
||||
--help(-h) # Display help and exit
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,604 @@
|
||||
# Display help information
|
||||
extern "btrfs" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Check structural integrity of a filesystem (unmounted).
|
||||
extern "btrfs check" [
|
||||
--super(-s) # Use this SUPERBLOCK copy
|
||||
--backup(-b) # Use the first valid BACKUP root copy
|
||||
--tree-root(-r) # Use the given bytenr for the TREE root
|
||||
--chunk-root # Use the given bytenr for the CHUNK-TREE root
|
||||
--readonly # Run in read-only mode
|
||||
--repair # Try to repair the filesystem
|
||||
--force # Skip mount checks, repair is not possible
|
||||
--mode # Allows choice of memory/IO trade-offs
|
||||
--init-csum-tree # Create a new CRC tree (repair only)
|
||||
--init-extent-tree # Create a new extent tree (repair only)
|
||||
--clear-space-cache # clear space cache (repair only)
|
||||
--check-data-csum # Verify checksums of data blocks
|
||||
--qgroup-report(-Q) # Print a report on qgroup consistency
|
||||
--subvol-extents(-E) # Print subvolume extents and sharing state
|
||||
--progress(-p) # Indicate progress
|
||||
...args
|
||||
]
|
||||
|
||||
# Try to restore files from a damaged filesystem (unmounted)
|
||||
extern "btrfs restore" [
|
||||
--snapshots(-s) # Get snapshots
|
||||
--xattr(-x) # Restore extended attributes
|
||||
--metadata(-m) # Restore owner, mode and times
|
||||
--symlink(-S) # Restore symbolic links
|
||||
--verbose(-v) # Verbose
|
||||
--ignore-errors(-i) # Ignore errors
|
||||
--overwrite(-o) # Overwrite
|
||||
--super(-u) # Super mirror
|
||||
--root(-r) # Root objectid
|
||||
--list-roots(-l) # List tree roots
|
||||
--dry-run(-D) # Only list files that would be recovered
|
||||
--path-regex # Restore only filenames matching regex
|
||||
...args
|
||||
]
|
||||
|
||||
# Send the subvolume(s) to stdout.
|
||||
extern "btrfs send" [
|
||||
--no-data # send in NO_FILE_DATA mode
|
||||
--verbose(-v) # Enable verbose output to stderr
|
||||
--quiet(-q) # Suppress all messages, except errors
|
||||
...args
|
||||
]
|
||||
|
||||
# Receive subvolumes from a stream
|
||||
extern "btrfs receive" [
|
||||
--quiet(-q) # Suppress all messages, except errors
|
||||
--chroot(-C) # Confine the process to <mount> using chroot
|
||||
--max-errors(-E) # Terminate when NUMBER errors occur
|
||||
--dump # Dump stream metadata
|
||||
...args
|
||||
]
|
||||
|
||||
# Display help information
|
||||
extern "btrfs help" [
|
||||
--full # Display detailed help on every command
|
||||
--box # Show list of built-in tools (busybox style)
|
||||
...args
|
||||
]
|
||||
|
||||
# Display btrfs-progs version
|
||||
extern "btrfs version" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# manage subvolumes: create, delete, list, etc
|
||||
extern "btrfs subvolume" [
|
||||
--commit-after(-c) # Wait for transaction commit at the end of the operation
|
||||
--commit-each(-C) # Wait for transaction commit after deleting each subvolume
|
||||
--verbose(-v) # Verbose output of operations
|
||||
--sort # List the subvolume in order
|
||||
--rootid(-r) # Show rootid of the subvolume
|
||||
--uuid(-u) # Show uuid of the subvolume
|
||||
--raw(-b) # Show raw numbers in bytes
|
||||
--human-readable(-h) # Show human friendly numbers, base 1024
|
||||
--iec # Use 1024 as a base (KiB, MiB, GiB, TiB)
|
||||
--si # Use 1000 as a base (kB, MB, GB, TB)
|
||||
--kbytes(-k) # Show sizes in KiB, or kB with --si
|
||||
--mbytes(-m) # Show sizes in MiB, or MB with --si
|
||||
--gbytes(-g) # Show sizes in GiB, or GB with --si
|
||||
--tbytes(-t) # Show sizes in TiB, or TB with --si
|
||||
...args
|
||||
]
|
||||
|
||||
# overall filesystem tasks and information
|
||||
extern "btrfs filesystem" [
|
||||
--raw(-b) # Show raw numbers in bytes
|
||||
--human-readable(-h) # Show human friendly numbers, base 1024
|
||||
--iec # Use 1024 as a base (KiB, MiB, GiB, TiB)
|
||||
--si # Use 1000 as a base (kB, MB, GB, TB)
|
||||
--kbytes(-k) # Show sizes in KiB, or kB with --si
|
||||
--mbytes(-m) # Show sizes in MiB, or MB with --si
|
||||
--gbytes(-g) # Show sizes in GiB, or GB with --si
|
||||
--tbytes(-t) # Show sizes in TiB, or TB with --si
|
||||
--summarize(-s) # Display only a total for each argument
|
||||
--raw # Show raw numbers in bytes
|
||||
--human-readable # Show human friendly numbers, base 1024
|
||||
--iec # Use 1024 as a base (KiB, MiB, GiB, TiB)
|
||||
--si # Use 1000 as a base (kB, MB, GB, TB)
|
||||
--kbytes # Show sizes in KiB, or kB with --si
|
||||
--mbytes # Show sizes in MiB, or MB with --si
|
||||
--gbytes # Show sizes in GiB, or GB with --si
|
||||
--tbytes # Show sizes in TiB, or TB with --si
|
||||
--all-devices(-d) # Show only disks under /dev containing btrfs filesystem
|
||||
--mounted(-m) # Show only mounted btrfs
|
||||
--raw # Show raw numbers in bytes
|
||||
--human-readable # Show human friendly numbers, base 1024
|
||||
--iec # Use 1024 as a base (KiB, MiB, GiB, TiB)
|
||||
--si # Use 1000 as a base (kB, MB, GB, TB)
|
||||
--kbytes # Show sizes in KiB, or kB with --si
|
||||
--mbytes # Show sizes in MiB, or MB with --si
|
||||
--gbytes # Show sizes in GiB, or GB with --si
|
||||
--tbytes # Show sizes in TiB, or TB with --si
|
||||
--raw(-b) # Show raw numbers in bytes
|
||||
--human-readable(-h) # Show human friendly numbers, base 1024
|
||||
--iec # Use 1024 as a base (KiB, MiB, GiB, TiB)
|
||||
--si # Use 1000 as a base (kB, MB, GB, TB)
|
||||
--kbytes(-k) # Show sizes in KiB, or kB with --si
|
||||
--mbytes(-m) # Show sizes in MiB, or MB with --si
|
||||
--gbytes(-g) # Show sizes in GiB, or GB with --si
|
||||
--tbytes(-t) # Show sizes in TiB, or TB with --si
|
||||
...args
|
||||
]
|
||||
|
||||
# balance data across devices, or change block groups using filters
|
||||
extern "btrfs balance" [
|
||||
--full-balance # Do not print warning and do not delay start
|
||||
--bg # Run the balance as a background process
|
||||
...args
|
||||
]
|
||||
|
||||
# manage and query devices in the filesystem
|
||||
extern "btrfs device" [
|
||||
--nodiscard(-K) # Do not perform TRIM on DEVICES
|
||||
--force(-f) # Force overwrite existing filesystem on the disk
|
||||
--all-devices(-d) # Enumerate and register all devices
|
||||
--forget(-u) # Unregister a given device or all stale devices
|
||||
--check(-c) # Return non-zero if any stat counter is not zero
|
||||
--reset(-z) # Show current stats and reset values to zero
|
||||
--raw(-b) # Show raw numbers in bytes
|
||||
--human-readable(-h) # Show human friendly numbers, base 1024
|
||||
--iec # Use 1024 as a base (KiB, MiB, GiB, TiB)
|
||||
--si # Use 1000 as a base (kB, MB, GB, TB)
|
||||
--kbytes(-k) # Show sizes in KiB, or kB with --si
|
||||
--mbytes(-m) # Show sizes in MiB, or MB with --si
|
||||
--gbytes(-g) # Show sizes in GiB, or GB with --si
|
||||
--tbytes(-t) # Show sizes in TiB, or TB with --si
|
||||
...args
|
||||
]
|
||||
|
||||
# verify checksums of data and metadata
|
||||
extern "btrfs scrub" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# toolbox for specific rescue operations
|
||||
extern "btrfs rescue" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# query various internal information
|
||||
extern "btrfs inspect-internal" [
|
||||
--id # Specify the DEVICE-ID to query
|
||||
--extents(-e) # Print only extent info: extent and device trees
|
||||
--device(-d) # Print only device info: tree root, chunk and device trees
|
||||
--roots(-r) # Print only short root node info
|
||||
--backups(-R) # Print short root node info and backup root info
|
||||
--uuid(-u) # Print only the uuid tree
|
||||
--block(-b) # Print info from the specified BLOCK only
|
||||
--tree(-t) # Print only tree with the given ID
|
||||
--follow # Use with -b, to show all children tree blocks of <block_num>
|
||||
--noscan # Do not scan the devices from the filesystem
|
||||
--bfs # Breadth-first traversal of the trees, print nodes, then leaves
|
||||
--dfs # Depth-first traversal of the trees
|
||||
--full(-f) # Print full superblock information, backup roots etc.
|
||||
--all(-a) # Print information about all superblocks
|
||||
--super(-s) # Specify which SUPER-BLOCK copy to print out
|
||||
--force(-F) # Attempt to dump superblocks with bad magic
|
||||
--bytenr # Specify alternate superblock OFFSET
|
||||
...args
|
||||
]
|
||||
|
||||
# modify properties of filesystem objects
|
||||
extern "btrfs property" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# manage filesystem quota settings
|
||||
extern "btrfs quota" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# manage quota groups
|
||||
extern "btrfs qgroup" [
|
||||
--rescan # Schedule qutoa rescan if needed
|
||||
--no-rescan # Dont schedule quota rescan
|
||||
--raw # Show raw numbers in bytes
|
||||
--human-readable # Show human friendly numbers, base 1024
|
||||
--iec # Use 1024 as a base (KiB, MiB, GiB, TiB)
|
||||
--si # Use 1000 as a base (kB, MB, GB, TB)
|
||||
--kbytes # Show sizes in KiB, or kB with --si
|
||||
--mbytes # Show sizes in MiB, or MB with --si
|
||||
--gbytes # Show sizes in GiB, or GB with --si
|
||||
--tbytes # Show sizes in TiB, or TB with --si
|
||||
--sort # List qgroups sorted by specified items
|
||||
--sync # Force sync of the filesystem before getting info
|
||||
...args
|
||||
]
|
||||
|
||||
# replace a device in the filesystem
|
||||
extern "btrfs replace" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Create a subvolume
|
||||
extern "btrfs create" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Delete subvolume(s)
|
||||
extern "btrfs delete" [
|
||||
--commit-after(-c) # Wait for transaction commit at the end of the operation
|
||||
--commit-each(-C) # Wait for transaction commit after deleting each subvolume
|
||||
--verbose(-v) # Verbose output of operations
|
||||
...args
|
||||
]
|
||||
|
||||
# List subvolumes and snapshots in the filesystem.
|
||||
extern "btrfs list" [
|
||||
--sort # List the subvolume in order
|
||||
...args
|
||||
]
|
||||
|
||||
# Create a snapshot of the subvolume
|
||||
extern "btrfs snapshot" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Get the default subvolume of a filesystem
|
||||
extern "btrfs get-default" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set the default subvolume of the filesystem mounted as default.
|
||||
extern "btrfs set-default" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List the recently modified files in a filesystem
|
||||
extern "btrfs find-new" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show more information about the subvolume
|
||||
extern "btrfs show" [
|
||||
--rootid(-r) # Show rootid of the subvolume
|
||||
--uuid(-u) # Show uuid of the subvolume
|
||||
--raw(-b) # Show raw numbers in bytes
|
||||
--human-readable(-h) # Show human friendly numbers, base 1024
|
||||
--iec # Use 1024 as a base (KiB, MiB, GiB, TiB)
|
||||
--si # Use 1000 as a base (kB, MB, GB, TB)
|
||||
--kbytes(-k) # Show sizes in KiB, or kB with --si
|
||||
--mbytes(-m) # Show sizes in MiB, or MB with --si
|
||||
--gbytes(-g) # Show sizes in GiB, or GB with --si
|
||||
--tbytes(-t) # Show sizes in TiB, or TB with --si
|
||||
--all-devices(-d) # Show only disks under /dev containing btrfs filesystem
|
||||
--mounted(-m) # Show only mounted btrfs
|
||||
--raw # Show raw numbers in bytes
|
||||
--human-readable # Show human friendly numbers, base 1024
|
||||
--iec # Use 1024 as a base (KiB, MiB, GiB, TiB)
|
||||
--si # Use 1000 as a base (kB, MB, GB, TB)
|
||||
--kbytes # Show sizes in KiB, or kB with --si
|
||||
--mbytes # Show sizes in MiB, or MB with --si
|
||||
--gbytes # Show sizes in GiB, or GB with --si
|
||||
--tbytes # Show sizes in TiB, or TB with --si
|
||||
--raw # Show raw numbers in bytes
|
||||
--human-readable # Show human friendly numbers, base 1024
|
||||
--iec # Use 1024 as a base (KiB, MiB, GiB, TiB)
|
||||
--si # Use 1000 as a base (kB, MB, GB, TB)
|
||||
--kbytes # Show sizes in KiB, or kB with --si
|
||||
--mbytes # Show sizes in MiB, or MB with --si
|
||||
--gbytes # Show sizes in GiB, or GB with --si
|
||||
--tbytes # Show sizes in TiB, or TB with --si
|
||||
--sort # List qgroups sorted by specified items
|
||||
--sync # Force sync of the filesystem before getting info
|
||||
...args
|
||||
]
|
||||
|
||||
# Wait until given subvolume(s) are completely removed from the filesystem.
|
||||
extern "btrfs sync" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List the subvolume in order
|
||||
extern "btrfs {gen,ogen,rootid,path}" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show space usage information for a mount point
|
||||
extern "btrfs df" [
|
||||
--raw(-b) # Show raw numbers in bytes
|
||||
--human-readable(-h) # Show human friendly numbers, base 1024
|
||||
--iec # Use 1024 as a base (KiB, MiB, GiB, TiB)
|
||||
--si # Use 1000 as a base (kB, MB, GB, TB)
|
||||
--kbytes(-k) # Show sizes in KiB, or kB with --si
|
||||
--mbytes(-m) # Show sizes in MiB, or MB with --si
|
||||
--gbytes(-g) # Show sizes in GiB, or GB with --si
|
||||
--tbytes(-t) # Show sizes in TiB, or TB with --si
|
||||
...args
|
||||
]
|
||||
|
||||
# Summarize disk usage of each file.
|
||||
extern "btrfs du" [
|
||||
--summarize(-s) # Display only a total for each argument
|
||||
--raw # Show raw numbers in bytes
|
||||
--human-readable # Show human friendly numbers, base 1024
|
||||
--iec # Use 1024 as a base (KiB, MiB, GiB, TiB)
|
||||
--si # Use 1000 as a base (kB, MB, GB, TB)
|
||||
--kbytes # Show sizes in KiB, or kB with --si
|
||||
--mbytes # Show sizes in MiB, or MB with --si
|
||||
--gbytes # Show sizes in GiB, or GB with --si
|
||||
--tbytes # Show sizes in TiB, or TB with --si
|
||||
--extents(-e) # Print only extent info: extent and device trees
|
||||
--device(-d) # Print only device info: tree root, chunk and device trees
|
||||
--roots(-r) # Print only short root node info
|
||||
--backups(-R) # Print short root node info and backup root info
|
||||
--uuid(-u) # Print only the uuid tree
|
||||
--block(-b) # Print info from the specified BLOCK only
|
||||
--tree(-t) # Print only tree with the given ID
|
||||
--follow # Use with -b, to show all children tree blocks of <block_num>
|
||||
--noscan # Do not scan the devices from the filesystem
|
||||
--bfs # Breadth-first traversal of the trees, print nodes, then leaves
|
||||
--dfs # Depth-first traversal of the trees
|
||||
--full(-f) # Print full superblock information, backup roots etc.
|
||||
--all(-a) # Print information about all superblocks
|
||||
--super(-s) # Specify which SUPER-BLOCK copy to print out
|
||||
--force(-F) # Attempt to dump superblocks with bad magic
|
||||
--bytenr # Specify alternate superblock OFFSET
|
||||
...args
|
||||
]
|
||||
|
||||
# Defragment a file or a directory
|
||||
extern "btrfs defragment" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Resize a filesystem
|
||||
extern "btrfs resize" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Get or change the label of a filesystem
|
||||
extern "btrfs label" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show detailed information about internal filesystem usage.
|
||||
extern "btrfs usage" [
|
||||
--raw(-b) # Show raw numbers in bytes
|
||||
--human-readable(-h) # Show human friendly numbers, base 1024
|
||||
--iec # Use 1024 as a base (KiB, MiB, GiB, TiB)
|
||||
--si # Use 1000 as a base (kB, MB, GB, TB)
|
||||
--kbytes(-k) # Show sizes in KiB, or kB with --si
|
||||
--mbytes(-m) # Show sizes in MiB, or MB with --si
|
||||
--gbytes(-g) # Show sizes in GiB, or GB with --si
|
||||
--tbytes(-t) # Show sizes in TiB, or TB with --si
|
||||
--raw(-b) # Show raw numbers in bytes
|
||||
--human-readable(-h) # Show human friendly numbers, base 1024
|
||||
--iec # Use 1024 as a base (KiB, MiB, GiB, TiB)
|
||||
--si # Use 1000 as a base (kB, MB, GB, TB)
|
||||
--kbytes(-k) # Show sizes in KiB, or kB with --si
|
||||
--mbytes(-m) # Show sizes in MiB, or MB with --si
|
||||
--gbytes(-g) # Show sizes in GiB, or GB with --si
|
||||
--tbytes(-t) # Show sizes in TiB, or TB with --si
|
||||
...args
|
||||
]
|
||||
|
||||
# Balance chunks across the devices
|
||||
extern "btrfs start" [
|
||||
--full-balance # Do not print warning and do not delay start
|
||||
--bg # Run the balance as a background process
|
||||
...args
|
||||
]
|
||||
|
||||
# Pause running balance
|
||||
extern "btrfs pause" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Cancel running or paused balance
|
||||
extern "btrfs cancel" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Resume interrupted balance
|
||||
extern "btrfs resume" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show status of running or paused balance
|
||||
extern "btrfs status" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Add one or more devices to a mounted filesystem.
|
||||
extern "btrfs add" [
|
||||
--nodiscard(-K) # Do not perform TRIM on DEVICES
|
||||
--force(-f) # Force overwrite existing filesystem on the disk
|
||||
...args
|
||||
]
|
||||
|
||||
# Remove a device from a filesystem
|
||||
extern "btrfs remove" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Scan or forget (unregister) devices of btrfs filesystems
|
||||
extern "btrfs scan" [
|
||||
--all-devices(-d) # Enumerate and register all devices
|
||||
--forget(-u) # Unregister a given device or all stale devices
|
||||
...args
|
||||
]
|
||||
|
||||
# Check and wait until a group of devices of a filesystem is ready for mount
|
||||
extern "btrfs ready" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Show device IO error statistics
|
||||
extern "btrfs stats" [
|
||||
--check(-c) # Return non-zero if any stat counter is not zero
|
||||
--reset(-z) # Show current stats and reset values to zero
|
||||
...args
|
||||
]
|
||||
|
||||
# Recover the chunk tree by scanning the devices one by one.
|
||||
extern "btrfs chunk-recover" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Recover bad superblocks from good copies
|
||||
extern "btrfs super-recover" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Clear the tree log. Usable if its corrupted and prevents mount.
|
||||
extern "btrfs zero-log" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Re-align device and super block sizes. Usable if newer kernel refuse to mount it due to mismatch super size
|
||||
extern "btrfs fix-device-size" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Get file system paths for the given inode
|
||||
extern "btrfs inode-resolve" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Get file system paths for the given logical address
|
||||
extern "btrfs logical-resolve" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Get file system paths for the given subvolume ID.
|
||||
extern "btrfs subvolid-resolve" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Get tree ID of the containing subvolume of path.
|
||||
extern "btrfs rootid" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Get the minimum size the device can be shrunk to. (Default: 1)
|
||||
extern "btrfs min-dev-size" [
|
||||
--id # Specify the DEVICE-ID to query
|
||||
...args
|
||||
]
|
||||
|
||||
# Dump tree structures from a given device
|
||||
extern "btrfs dump-tree" [
|
||||
--extents(-e) # Print only extent info: extent and device trees
|
||||
--device(-d) # Print only device info: tree root, chunk and device trees
|
||||
--roots(-r) # Print only short root node info
|
||||
--backups(-R) # Print short root node info and backup root info
|
||||
--uuid(-u) # Print only the uuid tree
|
||||
--block(-b) # Print info from the specified BLOCK only
|
||||
--tree(-t) # Print only tree with the given ID
|
||||
--follow # Use with -b, to show all children tree blocks of <block_num>
|
||||
--noscan # Do not scan the devices from the filesystem
|
||||
--bfs # Breadth-first traversal of the trees, print nodes, then leaves
|
||||
--dfs # Depth-first traversal of the trees
|
||||
...args
|
||||
]
|
||||
|
||||
# Dump superblock from a device in a textual form
|
||||
extern "btrfs dump-super" [
|
||||
--full(-f) # Print full superblock information, backup roots etc.
|
||||
--all(-a) # Print information about all superblocks
|
||||
--super(-s) # Specify which SUPER-BLOCK copy to print out
|
||||
--force(-F) # Attempt to dump superblocks with bad magic
|
||||
--bytenr # Specify alternate superblock OFFSET
|
||||
...args
|
||||
]
|
||||
|
||||
# Print various stats for trees
|
||||
extern "btrfs tree-stats" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Get a property value of a btrfs object
|
||||
extern "btrfs get" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set a property on a btrfs object
|
||||
extern "btrfs set" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Enable subvolume quota support for a filesystem.
|
||||
extern "btrfs enable" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Disable subvolume quota support for a filesystem.
|
||||
extern "btrfs disable" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Trash all qgroup numbers and scan the metadata again with the current config.
|
||||
extern "btrfs rescan" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Assign SRC as the child qgroup of DST
|
||||
extern "btrfs assign" [
|
||||
--rescan # Schedule qutoa rescan if needed
|
||||
--no-rescan # Dont schedule quota rescan
|
||||
...args
|
||||
]
|
||||
|
||||
# Destroy a quota group.
|
||||
extern "btrfs destroy" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Set the limits a subvolume quota group.
|
||||
extern "btrfs limit" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# List qgroups sorted by specified items
|
||||
extern "btrfs {qgroupid,rfer,excl,max_rfer,max_excl}" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Display help and exit
|
||||
extern "builtin" [
|
||||
|
||||
...args
|
||||
]
|
||||
@@ -0,0 +1,172 @@
|
||||
# Specify the number of times you wish to attempt network commands
|
||||
extern "bundle" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Install the gems specified by the Gemfile or Gemfile.lock
|
||||
extern "bundle install" [
|
||||
--gemfile # The location of the Gemfile bundler should use
|
||||
--path # The location to install the gems in the bundle to
|
||||
--system # Installs the gems in the bundle to the system location
|
||||
--without # A space-separated list of groups to skip installing
|
||||
--local # Use cached gems instead of connecting to rubygems.org
|
||||
--deployment # Switches bundler's defaults into deployment mode.
|
||||
--binstubs # Create a directory containing executabes that run in the context of the bundle
|
||||
--shebang # Specify a ruby executable to use with generated binstubs
|
||||
--standalone # Make a bundle that can work without RubyGems or Bundler at run-time
|
||||
--trust-policy(-P) # Apply a RubyGems security policy: {High,Medium,Low,No}Security
|
||||
--jobs(-j) # Install gems parallelly by starting size number of parallel workers
|
||||
--no-cache # Do not update the cache in vendor/cache with the newly bundled gems
|
||||
--quiet # Do not print progress information to stdout
|
||||
--clean # Run bundle clean automatically after install
|
||||
--full-index # Use the rubygems modern index instead of the API endpoint
|
||||
--no-prune # Do not remove stale gems from the cache
|
||||
--frozen # Do not allow the Gemfile.lock to be updated after this install
|
||||
...args
|
||||
]
|
||||
|
||||
# Update dependencies to their latest versions
|
||||
extern "bundle update" [
|
||||
--source # The name of a :git or :path source used in the Gemfile
|
||||
--local # Do not attempt to fetch gems remotely and use the gem cache instead
|
||||
--quiet # Only output warnings and errors
|
||||
--full-index # Use the rubygems modern index instead of the API endpoint
|
||||
--jobs(-j) # Specify the number of jobs to run in parallel
|
||||
--group(-g) # Update a specific group
|
||||
...args
|
||||
]
|
||||
|
||||
# Package the .gem files into vendor/cache directory
|
||||
extern "bundle package" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Install the binstubs of the listed gem
|
||||
extern "bundle binstubs" [
|
||||
--path # Binstub destination directory (default bin)
|
||||
--force # Overwrite existing binstubs if they exist
|
||||
...args
|
||||
]
|
||||
|
||||
# Execute a script in the context of the current bundle
|
||||
extern "bundle exec" [
|
||||
--keep-file-descriptors # Exec runs a command, providing it access to the gems in the bundle
|
||||
...args
|
||||
]
|
||||
|
||||
# Describe available tasks or one specific task
|
||||
extern "bundle help" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Specify and read configuration options for bundler
|
||||
extern "bundle config" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Check bundler requirements for your application
|
||||
extern "bundle check" [
|
||||
--gemfile # The location of the Gemfile bundler should use
|
||||
--path # Specify a path other than the system default (BUNDLE_PATH or GEM_HOME)
|
||||
--dry-run # Lock the Gemfile
|
||||
...args
|
||||
]
|
||||
|
||||
# Show all of the gems in the current bundle
|
||||
extern "bundle list" [
|
||||
--paths # List the paths of all gems required by your Gemfile
|
||||
...args
|
||||
]
|
||||
|
||||
# Show the source location of a particular gem in the bundle
|
||||
extern "bundle show" [
|
||||
--paths # List the paths of all gems required by your Gemfile
|
||||
...args
|
||||
]
|
||||
|
||||
# Show all of the outdated gems in the current bundle
|
||||
extern "bundle outdated" [
|
||||
--pre # Check for newer pre-release gems
|
||||
--source # Check against a specific source
|
||||
--local # Use cached gems instead of attempting to fetch gems remotely
|
||||
--strict # Only list newer versions allowed by your Gemfile requirements
|
||||
...args
|
||||
]
|
||||
|
||||
# Start an IRB session in the context of the current bundle
|
||||
extern "bundle console" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Open an installed gem in your $EDITOR
|
||||
extern "bundle open" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Generate a visual representation of your dependencies
|
||||
extern "bundle viz" [
|
||||
--file(-f) # The name to use for the generated file (see format option)
|
||||
--version(-v) # Show each gem version
|
||||
--requirements(-r) # Show the version of each required dependency
|
||||
--format(-F) # Output a specific format (png, jpg, svg, dot, …)
|
||||
...args
|
||||
]
|
||||
|
||||
# Generate a simple Gemfile
|
||||
extern "bundle init" [
|
||||
--gemspec # Use a specified .gemspec to create the Gemfile
|
||||
...args
|
||||
]
|
||||
|
||||
# Create a simple gem, suitable for development with bundler
|
||||
extern "bundle gem" [
|
||||
--bin(-b) # Generate a binary for your library
|
||||
--test(-t) # Generate a test directory for your library (rspec or minitest)
|
||||
--edit(-e) # Path to your editor
|
||||
--ext # Generate the boilerplate for C extension code
|
||||
...args
|
||||
]
|
||||
|
||||
# Displays platform compatibility information
|
||||
extern "bundle platform" [
|
||||
--ruby # Only display Ruby directive information
|
||||
...args
|
||||
]
|
||||
|
||||
# Cleans up unused gems in your bundler directory
|
||||
extern "bundle cleanup" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Cleans up unused gems in your bundler directory
|
||||
extern "bundle clean" [
|
||||
--dry-run # Only print out changes, do not actually clean gems
|
||||
--force # Forces clean even if --path is not set
|
||||
...args
|
||||
]
|
||||
|
||||
# Cache all the gems to vendor/cache
|
||||
extern "bundle cache" [
|
||||
--no-prune # Do not remove stale gems from the cache
|
||||
--all # Include all sources (including path and git)
|
||||
...args
|
||||
]
|
||||
|
||||
# Prints the license of all gems in the bundle
|
||||
extern "bundle licenses" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Print information about the environment Bundler is running under
|
||||
extern "bundle env" [
|
||||
|
||||
...args
|
||||
]
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user