-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94cf596
commit ca45497
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,32 @@ | ||
# Cosmos sdk CLI completions for Nushell | ||
|
||
 | ||
|
||
## Installation | ||
|
||
In [Nushell](https://www.nushell.sh/): | ||
|
||
- `git clone https://github.com/cyber-prophet/cosmos-nushell` | ||
- `cd cosmos-nushell` | ||
- `overlay use out/neutrond/neutrond_nu_completions.nu` | ||
|
||
## Use | ||
|
||
Start typing executable name, for example `neutrond`, hit `tab`: check completions. | ||
|
||
For the best experience I suggest to set `$env.config.completions.partial = true` | ||
|
||
## Already parsed completions | ||
|
||
In this repository you can find: | ||
- [Universal Jupyter Notebook](https://github.com/cyber-prophet/cosmos-sdk-CLI-completions-for-nushell/blob/master/cyber-cli-bash-parsing.ipynb) for parsing Cosmos-SDK CLI-s (tested on go-cyber, pussy, gaiad) commands and composing nushell completions file (that can be used as an overlay or as a module in a nushell). | ||
- [Ready to use](https://github.com/cyber-prophet/cosmos-sdk-CLI-completions-for-nushell/tree/master/out) completions for Nushell: | ||
- [cyber](https://raw.githubusercontent.com/cyber-prophet/cosmos-sdk-CLI-completions-for-nushell/master/out/cyber/cyber_nu_completions.nu) | ||
- [pussy](https://raw.githubusercontent.com/cyber-prophet/cosmos-sdk-CLI-completions-for-nushell/master/out/pussy/pussy_nu_completions.nu) | ||
- [gaiad](https://raw.githubusercontent.com/cyber-prophet/cosmos-sdk-CLI-completions-for-nushell/master/out/gaiad/gaiad_nu_completions.nu) | ||
- [osmosisd](https://raw.githubusercontent.com/cyber-prophet/cosmos-sdk-CLI-completions-for-nushell/master/out/osmosisd/osmosisd_nu_completions.nu) | ||
- [neutrond](https://raw.githubusercontent.com/cyber-prophet/cosmos-sdk-CLI-completions-for-nushell/master/out/neutrond/neutrond_nu_completions.nu) | ||
|
||
## Parsing completions | ||
|
||
Use `cyber-cli-bash-parsing.ipynb`, set the executable name, run. |