mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-02 07:07:46 +00:00
Make commands optional (#398)
This commit is contained in:
parent
0985500ec9
commit
bc71f8d1e9
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
export extern "npm" [
|
export extern "npm" [
|
||||||
command: string@"nu-complete npm"
|
command?: string@"nu-complete npm"
|
||||||
]
|
]
|
||||||
def "nu-complete npm" [] {
|
def "nu-complete npm" [] {
|
||||||
^npm -l
|
^npm -l
|
||||||
|
@ -18,10 +18,10 @@ def "nu-complete npm run" [] {
|
||||||
}
|
}
|
||||||
|
|
||||||
export extern "npm run" [
|
export extern "npm run" [
|
||||||
command: string@"nu-complete npm run"
|
command?: string@"nu-complete npm run"
|
||||||
--workspace(-w)
|
--workspace(-w)
|
||||||
--include-workspace-root
|
--include-workspace-root
|
||||||
--if-present
|
--if-present
|
||||||
--ignore-scripts
|
--ignore-scripts
|
||||||
--script-shell
|
--script-shell
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue