1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 14:47:47 +00:00

fix custom completions arg names (#324)

This commit is contained in:
WindSoilder 2022-12-12 20:20:31 +08:00 committed by GitHub
parent 2117c1bb35
commit 1203bec68d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -308,7 +308,7 @@ export extern "cargo test" [
# Execute benchmarks of a package
export extern "cargo bench" [
bench_option_seperator?: string
# ...options?: any # Options to be passed to the benchmarks
...options: any # Options to be passed to the benchmarks
--no-run # Compile, but don't run benchmarks
--no-fail-fast # Run all benchmarks regardless of failure
--package(-p): string@"nu-complete cargo packages" # Benchmark only the specified packages

View file

@ -372,7 +372,7 @@ def "nu-complete yarn rebuild" [] {
# Rebuild the project's native packages
export extern "yarn rebuild" [
...packages?: string@"nu-complete yarn rebuild"
...packages: string@"nu-complete yarn rebuild"
]
# Remove a dependency from the project.
@ -441,7 +441,7 @@ export extern "yarn stage" [
# Disconnect the local project from another one.
export extern "yarn unlink" [
--all(-A) # Unlink all workspaces belonging to the target project from the current one
...packages?: string
...packages: string
]
# Force the unpacking of a list of packages
@ -449,7 +449,7 @@ export extern "yarn unplug" [
--all(-A) #Unplug direct dependencies from the entire project
--recursive(-R) #Unplug both direct and transitive dependencies
--json # Format the output as an NDJSON stream
...packages?: string
...packages: string
]
# Upgrade dependencies across the project.
@ -530,7 +530,7 @@ export extern "yarn workspaces focus" [
--json # Format the output as an NDJSON stream
--production # Only install regular dependencies by omitting dev dependencies
--all(-A) # Install the entire project
...packages?: string
...packages: string
]
# Run a command on all workspaces. NOTE: requires the workspace-tools plugin to be installed.