@totemish/cli v1.1.1
CLI
Description
Totemish CLI is a microframework for building commands in an easy and predictable way. It has built-in invoker, a set of default commands and base logic for creating custom commands of your own. Totemish CLI supports synchronous and asynchronous commands. You can create custom packages for Totemish CLI that can be installed both globally and locally.
When creating custom command packages, you should follow naming convention for them -
totemish-cli-${nameOfThePackage}
. Thus, it will be automatically grabbed by Totemish CLI invoker. You will need to
specify the name of your package in package.json
config.totemish.cli
object to be hooked by the invoker.
If your command package is installed globally and follow naming convention, it will be available system-wide.
If your command package is installed locally, it will be available via the root folder of the project.
Installation
npm i -g @totemish/cli