Hops CLI
This package is deprecated. Please use the hops (CLI) package instead.
hops-cli provides a hops
binary that should be installed globally.
This binary provides different commands based on the context in which it is called.
If called inside a hops project it will delegate to the hops-local-cli and provide the commands defined there.
If called outside of a hops project it will expose just a single command init
which can be used to initialize a new hops project based on a template (by default it will use hops-template-react).
Installation
npm install --global hops-cli
Usage
hops init my-new-hops-project [--verbose] [--npm] [--template hops-template-*]
This will create a very basic hops example project that is ready to go.
The following arguments are optional:
--verbose
- to increase the verbosity of the output for debugging purposes--npm
- to force usage of npm
instead of yarn
even if yarn is available--template
- to specify a different template for the intial structure. available templates:
Then cd
into my-new-hops-project
and execute hops --help
again to see a list of supported commands. These commands are provided by hops-local-cli.