1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-07-30 13:47:46 +00:00

Update some fish-sourced generated completion files (#1102)

Run `build-completions-from-pwd` from fish-shell completions

Through needs-update/custom-completions/auto-generate/parse-fish.nu with
https://github.com/fish-shell/fish-shell
share/completions/
9d904e111345a64eb4ff05ecd8d7737f22cfc762

Selective on which files to take over for reviewability and certain
improvements
This commit is contained in:
Jan Klass 2025-04-22 20:50:27 +02:00 committed by GitHub
parent 43ac47a06b
commit ddaa6f5bf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 426 additions and 30 deletions

View file

@ -1,5 +1,10 @@
# Show usage
extern "abook" [
--add-email # Read email message from stdin and add the sender
--add-email-quiet # Same as --add-email. Without confirmation
--convert # Convert address book files
--informat # Input file format
--outformat # Output file format
--formats # Print available formats
...args
]

View file

@ -9,7 +9,7 @@ extern "acpi" [
--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
--cooling(-c) # Show cooling device information
--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)

View file

@ -1,5 +1,12 @@
#
extern "amixer" [
--help(-h) # this help
--debug(-d) # debug mode
--nocheck(-n) # do not perform range checking
--version(-v) # print version of this program
--quiet(-q) # be quiet
--inactive(-i) # show also inactive controls
--abstract(-a) # select abstraction level
--stdin(-s) # Read and execute commands from stdin sequentially
...args
]

View file

@ -1,5 +1,19 @@
#
extern "apt" [
--no-install-recommends # Do not install recommended packages
--no-install-suggests # Do not install suggested packages
--download-only(-d) # Download Only
--fix-broken(-f) # Correct broken dependencies
--fix-missing(-m) # Ignore missing packages
--no-download # Disable downloading packages
--quiet(-q) # Quiet mode
--no-act(-s) # Perform a simulation
--assume-yes(-y) # Automatic yes to prompts
--assume-no # Automatic no to prompts
--install-recommends # Install recommended packages
--install-suggests # Install suggested packages
--with-new-pkgs
--help(-h) # Display help
--version(-v) # Display version and exit
...args
]

View file

@ -1,5 +1,7 @@
# Display help and exit
extern "builtin" [
--help(-h) # Display help and exit
--names(-n) # Print names of all existing builtins
--query(-q) # Tests if builtin exists
...args
]

View file

@ -1,5 +1,17 @@
#
extern "busctl" [
--quiet # Suppress message payload display
--verbose
--list # Show a flat list instead of a tree
--unique # Only show unique (:X.Y) names
--acquired # Only show well-known names
--activatable # Only show peers that have not been activated yet but can be
--show-machine # Show the machine the peers belong to
--user
--system
--no-pager
--no-legend
--help(-h)
--version
...args
]

View file

@ -1,5 +1,18 @@
# Show Help
extern "canto" [
--help(-h) # Show Help
--version(-v) # Show version
--update(-u) # Update before running
--list(-l) # List feeds
--checkall(-a) # Show number of new items
--checknew(-n) # Show number of new items for feed
--opml(-o) # Print conf as OPML
--import(-i) # Import from OPML
--url(-r) # Add feed
--dir(-D) # Set configuration directory
--conf(-C) # Set configuration file
--log(-L) # Set client log file
--fdir(-F) # Set feed directory
--sdir(-S) # Set script directory
...args
]

View file

@ -1,5 +1,8 @@
# Display help and exit
extern "command" [
--help(-h) # Display help and exit
--all(-a) # Print all external commands by the given name
--query(-q) # Do not print anything, only set exit status
--search(-v) # Print the file that would be executed
...args
]

View file

@ -2,4 +2,16 @@
extern "conda" [
--help(-h) # Show help and exit
...args
]
# Create a new environment
extern "conda create" [
--help(-h) # Show help and exit
...args
]
# List all conda environments
extern "conda list" [
--help(-h) # Show help and exit
...args
]

View file

@ -10,6 +10,7 @@ extern "diff" [
--text(-a) # Treat all files as text
--recursive(-r) # Recursively compare subdirectories
--new-file(-N) # Treat absent files as empty
--unified(-u) # Output NUM lines of unified context (default 3)
--brief(-q) # Output only whether the files differ
--normal # Output a normal diff
--side-by-side(-y) # Output in two columns

View file

@ -1,5 +1,5 @@
# Connect using the session bus
extern "dm-tool" [
--session-bus # Connect using the session bus
...args
]

View file

@ -1,5 +1,138 @@
# Manage aliases
extern "dnf" [
--dependencies # Checks dependencies
--duplicates # Checks duplicates
--obsoleted # Checks obsoleted
--provides # Checks provides
--changelogs
--with-optional # Include optional packages
--installed # List installed groups
--available # List available groups
--hidden # List hidden groups
--with-optional # Include optional packages
--all # Lists all packages
--installed # Lists installed packages
--available # Lists available packages
--extras # Lists installed packages that are not in any known repository
--obsoletes # List installed obsoleted packages
--recent # List recently added packages
--upgrades # List available upgrades
--autoremove # List packages which will be removed by autoremove
--timer # Instructs DNF to be more resource-aware
--all # Lists all module
--enabled # Lists enabled module
--disabled # Lists disabled module
--installed # List installed modules
--profile # Print module profiles information
--duplicates # Removes older version of duplicated packages
--oldinstallonly # Removes old installonly packages
--querytags # Provides the list of tags
--all(-a)
--enabled
--archlist
--duplicates
--unneeded
--available
--extras
--file(-f)
--installed
--installonly
--latest-limit
--recent
--repo
--unsatisfied
--upgrades
--userinstalled
--whatdepends
--whatconflicts
--whatenhances
--whatobsoletes
--whatprovides
--whatrecommends
--whatrequires
--whatsuggests
--whatsupplements
--alldeps
--exactdeps
--srpm
--info(-i) # Show detailed information about the package
--list(-l) # Show the list of files in the package
--source(-s) # Show the package source RPM name
--changelogs # Print the package changelogs
--conflicts # Display capabilities that the package conflicts with
--depends # Display capabilities that the package depends on
--enhances # Display capabilities enhanced by the package
--location # Show a location where the package could be downloaded from
--obsoletes # Display capabilities that the package obsoletes
--provides # Display capabilities provided by the package
--recommends # Display capabilities recommended by the package
--requires # Display capabilities that the package depends on
--requires-pre # Display capabilities that the package depends on
--suggests # Display capabilities suggested by the package
--supplements # Display capabilities supplemented by the package
--tree # Display a recursive tree of packages
--deplist # Produce a list of all dependencies
--nvr # Format like name-version-release
--nevra # Format like name-epoch:version-release.architecture
--envra # Format like epoch:name-version-release.architecture
--queryformat # Custom display format
--recursive # Query packages recursively
--resolve # Resolve capabilities to originating packages
--all # Lists packages that match at least one of the keys
--summary # Displays the summary
--list # List of advisories
--info # Detailed information
--all
--available
--installed
--updates
--advisories # Include packages corresponding to the advisory ID
--allowerasing # Allow erasing of installed packages to resolve dependencies
--assumeno # Answer no for all questions
--best(-b) # Try the best available package versions in transactions
--bugfix # Include packages that fix a bugfix issue
--bzs # Include packages that fix a Bugzilla ID
--cacheonly(-C) # Run entirely from system cache
--color # Control whether color is used
--config(-c) # Configuration file location
--cves # Include packages that fix a CVE
--debuglevel(-d) # Debugging output level
--debugsolver # Dump dependency solver debugging info
--disableexcludepkgs # Disable excludes
--set-disabled # Disable specified repositories
--disableplugin # Disable the listed plugins specified
--disablerepo # Disable specified repositories
--destdir # Change downloaded packages to provided directory
--downloadonly # Download packages without performing any transaction
--set-enabled # Enable specified repositories
--enableplugin # Enable the listed plugins
--enablerepo # Enable additional repositories
--enhancement # Include enhancement relevant packages
--exclude(-x) # Exclude packages specified
--forcearch # Force the use of the specified architecture
--help-i(-h) # Show the help
--installroot # Specifies an alternative installroot
--newpackage # Include newpackage relevant packages
--noautoremove # Disable autoremove
--nobest # Set best option to False
--nodocs # Do not install documentation
--nogpgcheck # Skip checking GPG signatures on packages
--noplugins # Disable all plugins
--obsoletes # Enables obsoletes processing logic
--quiet(-q) # Quiet mode
--randomwait(-R) # Maximum command wait time
--refresh # Set metadata as expired before running the command
--releasever # Configure the distribution release
--repofrompath # Specify repository to add to the repositories for this query
--repoid # Enable just specific repositories by an id or a glob
--rpmverbosity # RPM debug scriptlet output level
--secseverity # Includes packages that provide a fix for an issue of the specified severity
--security # Includes packages that provide a fix for a security issue
--setopt # Override a configuration option
--skip-broken # Skips broken packages
--showduplicates # Shows duplicate packages
--verbose(-v) # Verbose mode
--version # Shows DNF version and exit
--assumeyes(-y) # Answer yes for all questions
...args
]

View file

@ -1,5 +1,8 @@
# Run bash with the -x option
extern "ebuild" [
--debug # Run bash with the -x option
--force # Force regeneration of digests
--ignore-default-opts # Ignore EBUILD_DEFAULT_OPTS
--skip-manifest # Skip all manifest checks
...args
]

View file

@ -1,5 +1,13 @@
# Show this help message and exit
extern "emaint" [
--help(-h) # Show this help message and exit
--check(-c) # Check for problems
--version # Show program's version number and exit
--fix(-f) # Attempt to fix problems
--purge(-P) # Remove the list of failed merges
--pretend(-p) # Output logs that would be deleted
--clean(-C) # Cleans out logs more than 7 days old
--auto(-a) # Sync auto-sync enabled repos only
--allrepos(-A) # Sync all repos that have a sync-url defined
...args
]

View file

@ -18,7 +18,7 @@ extern "emerge" [
--unmerge(-C)
--version(-V)
--alert(-A) # Add a terminal bell character ('\a') to all interactive prompts
--ask(-a) # Prompt the user before peforming the merge
--ask(-a) # Prompt the user before performing the merge
--backtrack
--buildpkg(-b) # Build a binary pkg additionally
--buildpkgonly(-B) # Only build a binary pkg

View file

@ -1,5 +1,9 @@
# Show program's version number and exit
extern "eopkg" [
--version # Show program's version number and exit
--debug(-d) # Show debugging information
--help(-h) # Show help message and exit
--verbose(-v) # Detailed output
--yes-all(-y) # Assume yes for all yes/no queries
...args
]

View file

@ -6,7 +6,7 @@ extern "epkginfo" [
--keywords(-k) # keywords for all matching pkg versions
--license(-l) # licenses for the best matching version
--maintainer(-m) # maintainer(s) for the pkg
--stablreq(-S) # STABLEREQ arches (cc's) for all matching pkg versio
--stablreq(-S) # STABLEREQ arches (cc's) for all matching pkg version
--useflags(-u) # per-pkg USE flag descriptions
--upstream(-U) # pkg's upstream information
--xml(-x) # plain metadata.xml file

View file

@ -1,5 +1,51 @@
# Displays a help message
extern "equery" [
--help(-h) # Displays a help message
--quiet(-q) # Minimal output
--no-color(-C) # Turns off colors
--no-pipe(-N) # Turns off pipe detection
--version(-V) # Display version information
--full-regex(-f) # Query is a regex
--early-out(-e) # Stop after first match
--name-only(-n) # Omit version
--latest(-l) # Display only latest ChangeLog entry
--full(-f) # Display full ChangeLog
--full-regex(-f) # Query is a regex
--only-failures(-o) # Only display pkgs that do not pass
--all-packages(-a) # Include dependencies that are not installed (slow)
--indirect(-D) # Search both direct and indirect dependencies
--no-atom(-A) # Don't show dependency atom
--no-mask(-M) # Don't show masking status
--no-useflags(-U) # Don't show USE flags
--linear(-l) # Don't indent dependencies
--md5sum(-m) # Include MD5 sum in output
--timestamp(-s) # Include timestamp in output
--type(-t) # Include file type in output
--tree # Display results in a tree
--exclude-installed(-I) # Exclude installed pkgs from search path
--overlay-tree(-o) # Include overlays in search path
--portage-tree(-p) # Include entire portage tree in search path
--duplicates(-d) # List only installed duplicate pkgs
--binpkgs-missing(-b) # List only installed pkgs without a corresponding binary pkg
--full-regex(-f) # Query is a regex
--mask-reason(-m) # Include reason for pkg mask
--exclude-installed(-I) # Exclude installed pkgs from output
--overlay-tree(-o) # List pkgs in overlays
--portage-tree(-p) # List pkgs in the main portage tree
--description(-d) # Show extended pkg description
--herd(-H) # Show pkg's herd(s)
--keywords(-k) # Show keywords for all matching pkg versions
--license(-l) # Show licenses for the best matching version
--maintainer(-m) # Show the maintainer(s) for the pkg
--stablreq(-S) # Show STABLEREQ arches (cc's) for all matching pkg versions
--useflags(-u) # Show per-pkg USE flag descriptions
--upstream(-U) # Show pkg's upstream information
--xml(-x) # Show the plain metadata.xml file
--bytes(-b) # Report size in bytes
--full-regex(-f) # Query is a regex
--all(-a) # Include all pkg versions
--ignore-l10n(-i) # Don't show l10n USE flags
--include-masked(-m) # Return highest version ebuild available
--ebuild(-e) # Print the ebuild
...args
]

View file

@ -1,5 +1,5 @@
# Display help and exit
extern "exec" [
--help(-h) # Display help and exit
...args
]

View file

@ -40,7 +40,7 @@ extern "feh" [
--stretch(-s) # Enlarge if image smaller than given thumbnail size
--bg-center # Center file on background
--bg-fill # Set as background by zooming until image fits
--bg-max # Set as backround by zooming with black borders on one side
--bg-max # Set as background by zooming with black borders on one side
--bg-scale # Set as background without tiling, trimming or borders
--bg-tile # Tile image if too small for screen
--no-fehbg # Do not write a ~/.fehbg file

View file

@ -3,6 +3,8 @@ extern "fish_indent" [
--help(-h) # Display help and exit
--version(-v) # Display version and exit
--no-indent(-i) # Do not indent output, only reformat into one job per line
--only-indent # Do not reformat, only indent lines
--only-unindent # Do not reformat, only unindent lines
--ansi # Colorize the output using ANSI escape sequences
--html # Output in HTML format
--write(-w) # Write to file

View file

@ -3,5 +3,6 @@ extern "fish_key_reader" [
--help(-h) # Display help and exit
--version(-v) # Display version and exit
--continuous(-c) # Start a continuous session
--verbose(-V) # Output timing and explain sequence
...args
]

View file

@ -1,5 +1,5 @@
# Display help and exit
extern "for" [
--help(-h) # Display help and exit
...args
]

View file

@ -1,5 +1,5 @@
# List all options, with brief explanations
extern "gdb" [
--args # Pass arguments after the program name to the program when it is run
--args # Pass arguments to the program after its name
...args
]

View file

@ -3,7 +3,6 @@ extern "gpasswd" [
--add(-a) # Add user to group
--delete(-d) # Remove user from group
--help(-h) # Print help
--remove-password(-r) # Remove the GROUPs password
--restrict(-R) # Restrict access to GROUP to its members
--members(-M) # Set the list of members of GROUP
--administrators(-A) # set the list of administrators for GROUP

View file

@ -3,6 +3,7 @@ extern "gunzip" [
--stdout(-c) # Compress to stdout
--force(-f) # Overwrite
--help(-h) # Display help and exit
--keep(-k) # Keep input files
--list(-l) # List compression information
--license(-L) # Print license
--no-name(-n) # Do not save/restore filename

View file

@ -1,9 +1,9 @@
# Compress to stdout
extern "gzip" [
--stdout(-c) # Compress to stdout
--decompress(-d)
--force(-f) # Overwrite
--help(-h) # Display help and exit
--keep(-k) # Keep input files
--list(-l) # List compression information
--license(-L) # Print license
--no-name(-n) # Do not save/restore filename

View file

@ -9,14 +9,16 @@ extern "hashcat" [
--hex-salt # Assume salt is given in hex
--hex-wordlist # Assume words in wordlist are given in hex
--force # Ignore warnings
--deprecated-check-disable # Enable deprecated plugins
--status # Enable automatic update of the status screen
--status-json # Enable JSON format for status ouput
--status-json # Enable JSON format for status output
--machine-readable # Display the status view in a machine-readable format
--keep-guessing # Keep guessing the hash after it has been cracked
--self-test-disable # Disable self-test functionality on startup
--loopback # Add new plains to induct directory
--markov-disable # Disables markov-chains, emulates classic brute-force
--markov-classic # Enables classic markov-chains, no per-position
--markov-inverse # Enables inverse markov-chains, no per-position
--restore # Restore session from --session
--restore-disable # Do not write restore file
--outfile-format # Outfile formats to use
@ -39,13 +41,17 @@ extern "hashcat" [
--hash-info # Show information for each hash-mode
--example-hashes # Alias of --hash-info
--backend-ignore-cuda # Do not try to open CUDA interface on startup
--backend-ignore-hip # Do not try to open HIP interface on startup
--backend-ignore-metal # Do not try to open Metal interface on startup
--backend-ignore-opencl # Do not try to open OpenCL interface on startup
--backend-info(-I) # Show info about detected backend API devices
--opencl-device-types(-D) # OpenCL device-types to use
--optimized-kernel-enable(-O) # Enable optimized kernels (limits password length)
--multiply-accel-disable(-M) # Disable multiply kernel-accel with processor count
--workload-profile(-w) # Enable a specific workload profile
--hwmon-disable # Disable temperature and fanspeed reads and triggers
--keyspace # Show keyspace base:mod values and quit
--identify(-i) # Shows all supported algorithms for input hashes
--increment(-i) # Enable mask increment mode
--slow-candidates(-S) # Enable slower (but advanced) candidate generators
--brain-server # Enable brain server

View file

@ -1,5 +1,34 @@
# do not prompt, automatically pick the first choice for all prompts
extern "hg" [
--noninteractive(-y) # do not prompt, automatically pick the first choice for all prompts
--quiet(-q) # suppress output
--verbose(-v) # enable additional output
--debug # enable debugging output
--debugger # start debugger
--traceback # always print a traceback on exception
--time # time how long the command takes
--profile # print command execution profile
--version # output version information and exit
--help(-h) # display help and exit
--hidden # consider hidden changesets
--subrepos(-S) # recurse into subrepositories
--dry-run(-n) # do not perform actions, just print output
--mq # operate on patch repository
--force(-f) # set branch name even if it shadows an existing branch
--clean(-C) # reset branch name to parent branch name
--mq # operate on patch repository
--edit(-e) # invoke editor on commit messages
--git(-g) # use git extended diff format
--currentuser(-U) # add \"From:
--user(-u)
--currentdate(-D) # add \"Date:
--date(-d)
--interactive(-i) # interactively record a new patch
--force(-f) # force tag
--local(-l) # make the tag local
--remove # remove a tag
--edit(-e) # invoke editor on commit messages
--mq # operate on patch repository
--mq # operate on patch repository
...args
]

View file

@ -1,5 +1,6 @@
# output formatted json
extern "hjson" [
--json(-j) # output formatted json
--compact(-c) # output condensed json
...args
]

View file

@ -1,4 +1,76 @@
extern "keybase" [
--api-dump-unsafe
--api-timeout
--api-uri-path-prefix
--app-start-mode
--auto-fork
--bg-identifier-disabled
--chat-db
--code-signing-kids
--config-file(-c)
--db
--debug(-d)
--debug-journeycard
--disable-bg-conv-loader
--disable-cert-pinning
--disable-merkle-auditor
--disable-search-indexer
--disable-team-auditor
--disable-team-box-auditor
--display-raw-untrusted-output
--ek-log-file
--enable-bot-lite-mode
--extra-net-logging
--features
--force-linux-keyring
--generate-bash-completion
--gpg
--gpg-options
--gpgdir
--gui-config-file
--help(-h)
--home(-H)
--leveldb-num-files
--local-rpc-debug-unsafe
--log-file
--log-format
--log-prefix
--merkle-kids
--no-auto-fork(-F)
--no-debug
--paramproof-kit
--pgpdir
--pid-file
--pinentry
--proof-cache-size
--prove-bypass
--proxy
--proxy-type
--push-disabled
--push-save-interval
--push-server-uri
--pvl-kit
--read-deleted-sigchain
--remember-passphrase
--run-mode
--scraper-timeout
--secret-keyring
--server(-s)
--session-file
--slow-gregor-conn
--socket-file
--standalone
--timers
--tor-hidden-address
--tor-mode
--tor-proxy
--updater-config-file
--use-default-log-file
--use-root-config-file
--user-cache-size
--vdebug
--version(-v)
--skip-chat-message(-s)
--team
...args
]

View file

@ -1,5 +1,10 @@
# Don't ask for password
extern "localectl" [
--no-ask-password # Don't ask for password
--no-convert # Don't convert keymap from console to X11 and vice-versa
--host(-H) # Execute the operation on a remote host
--help(-h) # Print a short help text and exit
--version # Print a short version string and exit
--no-pager # Do not pipe output into a pager
...args
]

View file

@ -1,5 +1,12 @@
# Show all properties, including empty ones
extern "loginctl" [
--all(-a) # Show all properties, including empty ones
--full(-l) # Do not ellipsize output
--help(-h) # Show this help
--no-ask-password # Don't prompt for password
--no-legend # Do not show the headers and footers
--no-pager # Do not pipe output into a pager
--value # When showing properties, only print the value
--version # Show package version
...args
]

View file

@ -1,5 +1,15 @@
# Starts the keylogging daemon
extern "logkeys" [
--start(-s) # Starts the keylogging daemon
--kill(-k) # Terminates the logkeys daemon
--output(-o) # Set output LOGFILE
--keymap(-m) # Use file as input KEYMAP
--device(-d) # Use DEVICE as keyboard input
--us-keymap(-u) # Treat keyboard as standard US keyboard
--export-keymap # Export dynamic KEYMAP to file
--no-func-keys # Log only character key presses
--no-timestamps # No timestamp to each line of log
--post-size # On SIZE, rotate current logfile
--post-http # POST the log file to URL
...args
]

View file

@ -1,5 +1,5 @@
# Show help
extern "matlab" [
--help(-h) # Show help
...args
]