mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-03 07:37:47 +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
|
@ -1,5 +1,10 @@
|
|||
# NPM Custom Completions
|
||||
|
||||
### Definition
|
||||
This script provides custom completions for npm.
|
||||
It can be used by importing its exported commands via:
|
||||
|
||||
These scripts should be used to demonstrate how create custom completions for npm.
|
||||
```
|
||||
use path/to/npm/npm-completions.nu *
|
||||
```
|
||||
|
||||
With `path/to` being either the relative path of the file to your current working directory or its absolute path.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue