Add autocomplete installation scripts to package.json. Update readme.
This commit is contained in:
23
readme.md
23
readme.md
@@ -61,6 +61,12 @@ npm run build
|
||||
# ----- End CLI Setup -----
|
||||
```
|
||||
|
||||
### Run TUI in dev mode
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
### Install globally
|
||||
|
||||
```bash
|
||||
@@ -68,6 +74,23 @@ npm run build
|
||||
npm install -g .
|
||||
```
|
||||
|
||||
### Install autocomplete completions (From the xo-cli directory)
|
||||
|
||||
#### Install for bash
|
||||
```bash
|
||||
npm run autocomplete:install:bash
|
||||
```
|
||||
|
||||
#### Install for zsh
|
||||
```bash
|
||||
npm run autocomplete:install:zsh
|
||||
```
|
||||
|
||||
#### Install for fish
|
||||
```bash
|
||||
npm run autocomplete:install:fish
|
||||
```
|
||||
|
||||
### Run the CLI
|
||||
```bash
|
||||
# If globally installed (Not really usable if not globally installed)
|
||||
|
||||
Reference in New Issue
Block a user