Comparing version 7.0.0-2 to 7.0.0-3
@@ -34,3 +34,3 @@ #!/usr/bin/env node | ||
'initialize with a different template', | ||
default: 'hops-template-default' | ||
default: 'hops-template-react' | ||
}) | ||
@@ -55,8 +55,8 @@ .option('hops-version', { | ||
'Creates the folder my-project inside the current directory and ' + | ||
'initializes a sample hops project inside it.' | ||
'initializes a sample hops react project inside it.' | ||
) | ||
.example( | ||
'$0 init --template hops-template-malt my-project', | ||
'$0 init --template hops-template-minimal my-project', | ||
'Creates the folder my-project inside the current directory and ' + | ||
'initializes an example project using malt inside it.' | ||
'initializes a minimal hops example inside it.' | ||
) | ||
@@ -63,0 +63,0 @@ .help('h') |
{ | ||
"name": "hops-cli", | ||
"version": "7.0.0-2", | ||
"version": "7.0.0-3", | ||
"description": "Global CLI module to initialize new hops projects", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -9,3 +9,3 @@ | ||
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-default](https://github.com/xing/hops/tree/master/packages/template-default)). | ||
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](https://github.com/xing/hops/tree/master/packages/template-react)). | ||
@@ -26,10 +26,10 @@ | ||
These options are additional: | ||
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: `hops-template-default` | ||
* available templates: | ||
* [hops-template-react](https://github.com/xing/hops/tree/master/packages/template-react) | ||
* [hops-template-minimal](https://github.com/xing/hops/tree/master/packages/template-minimal) | ||
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](https://github.com/xing/hops/tree/master/packages/local-cli). | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7061