mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 14:47:47 +00:00
add cargo update completions (#297)
This commit is contained in:
parent
b42a0a4c9b
commit
e28c0bdb6d
1 changed files with 15 additions and 0 deletions
|
@ -495,3 +495,18 @@ export extern "cargo clippy" [
|
|||
--version(-V) # Prints version information
|
||||
--help(-h) # Prints help information
|
||||
]
|
||||
|
||||
# Parameters from cargo update
|
||||
export extern "cargo install-update" [
|
||||
--cargo-dir(-c) # The cargo home directory. Default: $CARGO_HOME or $HOME/.cargo
|
||||
--temp-dir(-t) # The temporary directory. Default: $TEMP/cargo-update
|
||||
--all(-a) # Update all packages
|
||||
--list(-l) # Don't update packages, only list and check if they need an update (all packages by default)
|
||||
--force(-f) # Update all packages regardless if they need updating
|
||||
--downdate(-d) # Downdate packages to match latest unyanked registry version
|
||||
--allow-no-update(-i) # Allow for fresh-installing packages
|
||||
--git(-g) # Also update git packages
|
||||
--quiet(-q) # No output printed to stdout
|
||||
--filter(-s) # Specify a filter a package must match to be considered
|
||||
--install-cargo(-r) # Specify an alternative cargo to run for installations
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue