Command line tool for caniuse database.
- Uses caniuse-db internally, so results are displayed instantly.
- Supports tab autocompletion in zsh, bash and fish.
# npm install -g caniuse-cli
$ caniuse webrtcIn zsh:
echo '. <(caniuse --completion)' >> ~/.zshrcIn bash:
caniuse --completion >> ~/.caniuse.completion.sh
echo 'source ~/.caniuse.completion.sh' >> ~/.bashrcIn fish:
echo 'caniuse --completion-fish | source' >> ~/.config/fish/config.fishThat's all!
Now you have an autocompletion system.
bash: _get_comp_words_by_ref: command not found
bash: __ltrim_colon_completions: command not found
bash: _get_comp_words_by_ref: command not found
bash: __ltrim_colon_completions: command not found
Solution: install bash-completion package
