Package Exports
- hkcl
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hkcl) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
anycli
anycli: create your own CLI
Useful Repos
Plugins
- @anycli/version -
mycli -v|--version|version
. Show the current version. - @anycli/not-found - Display a friendly "did you mean" message if a command is not found.
- @anycli/plugins - Allow users to add plugins to extend your CLI.
- @anycli/autoupdate - Add autoupdate support to the CLI.
- @anycli/autocomplete - Add bash/zsh autocomplete.
Building your own plugin
Writing code for plugins is essentially the same as writing within a CLI. They can export 3 different types: commands, hooks, and other plugins.
Run yarn create anycli plugin mynewplugin
to create a plugin a new directory. This will come with a sample command and hook