chore: update readme#53
Conversation
|
commit: |
|
|
||
| ```bash | ||
| source <(my-cli complete zsh) # One-time setup | ||
| my-cli complete zsh >> ~/.zshrc # Permanent setup |
There was a problem hiding this comment.
no this is not a good way, we should go the creating a new file way or echo "source <(my-cli complete zsh)" way
|
|
||
| ```bash | ||
| # this generates a completion script for your shell | ||
| npx @bomb.sh/tab pnpm zsh >> ~/.zshrc |
There was a problem hiding this comment.
same here, this would bombard the shell configuration with new content
|
|
||
| ## Framework Integration | ||
|
|
||
| Tab includes adapters for popular JavaScript CLI frameworks: |
There was a problem hiding this comment.
why we have this section duplicated?
| // Add custom completions | ||
| const devCommand = completion.commands.get('dev'); | ||
| const portOption = devCommand?.options.get('--port'); | ||
| if (portOption) { |
There was a problem hiding this comment.
this condition is annoying
| ## Docs | ||
|
|
||
| Other package managers like `npm` and `yarn` can decide whether to support this or not too for more universal support. | ||
| For more detailed documentation, please visit [bombshell docs](https://bomb.sh/docs/tab/)! |
There was a problem hiding this comment.
i don't think it'd be detailed there, the docs here and on the website are the same
resolves #16