mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 22:57:46 +00:00
Move completions to module format (#195)
* Move custom completions to module format * Describe usage in README of custom completions
This commit is contained in:
parent
f394c2819e
commit
ef5de3ed96
8 changed files with 54 additions and 29 deletions
|
@ -23,7 +23,7 @@ def "nu-complete cargo features" [] {
|
|||
open Cargo.toml | get features | transpose | get column0
|
||||
}
|
||||
|
||||
extern "cargo run" [
|
||||
export extern "cargo run" [
|
||||
...args: any # arguments
|
||||
--bin: string@"nu-complete cargo bins" # Name of the bin target to run
|
||||
--example: string@"nu-complete cargo examples" # Name of the example target to run
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue