Comparing version 6.7.12 to 6.7.13
{ | ||
"name": "cac", | ||
"version": "6.7.12", | ||
"version": "6.7.13", | ||
"description": "Simple yet powerful framework for building command-line apps.", | ||
@@ -14,2 +14,3 @@ "repository": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
@@ -16,0 +17,0 @@ "require": "./index-compat.js" |
@@ -57,2 +57,3 @@ <img width="945" alt="2017-07-26 9 27 05" src="https://user-images.githubusercontent.com/8784712/28623641-373450f4-7249-11e7-854d-1b076dab274d.png"> | ||
- [Why not use Commander.js?](#why-not-use-commanderjs) | ||
- [Project Stats](#project-stats) | ||
- [Contributing](#contributing) | ||
@@ -80,3 +81,3 @@ - [Author](#author) | ||
cli.option('--type <type>', 'Choose a project type', { | ||
default: 'node' | ||
default: 'node', | ||
}) | ||
@@ -98,3 +99,3 @@ | ||
cli.option('--type [type]', 'Choose a project type', { | ||
default: 'node' | ||
default: 'node', | ||
}) | ||
@@ -149,3 +150,3 @@ cli.option('--name <name>', 'Provide your name') | ||
.option('--clear-screen', 'Clear screen') | ||
.action(options => { | ||
.action((options) => { | ||
console.log(options.clearScreen) | ||
@@ -230,3 +231,3 @@ }) | ||
.example('--env.API_SECRET xxx') | ||
.action(options => { | ||
.action((options) => { | ||
console.log(options) | ||
@@ -521,4 +522,8 @@ }) | ||
Basically I made CAC to fulfill my own needs for building CLI apps like [Poi](https://poi.js.org), [SAO](https://saojs.org) and all my CLI apps. It's small, simple but powerful :P | ||
Basically I made CAC to fulfill my own needs for building CLI apps like [Poi](https://poi.js.org), [SAO](https://sao.vercel.app) and all my CLI apps. It's small, simple but powerful :P | ||
## Project Stats | ||
![Alt](https://repobeats.axiom.co/api/embed/58caf6203631bcdb9bbe22f0728a0af1683dc0bb.svg 'Repobeats analytics image') | ||
## Contributing | ||
@@ -525,0 +530,0 @@ |
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
81799
537