Comparing version 1.0.0 to 1.0.1
@@ -21,3 +21,2 @@ #!/usr/bin/env node | ||
helper(); | ||
keza.parse(process.argv); | ||
process.argv.slice(2).forEach(function(item) { | ||
@@ -67,3 +66,2 @@ if (item === "-b" || item === "--babel") { | ||
helper(); | ||
keza.parse(process.argv); | ||
console.log( | ||
@@ -77,3 +75,3 @@ chalk.magenta("You have to initialize your project with npm or yarn first") | ||
keza | ||
.version("1.0.0") | ||
.version("1.0.1") | ||
.option("-b, --babel", "generate babelrc") | ||
@@ -86,3 +84,4 @@ .option("-d, --docker", "generate docker file") | ||
.option("-s, --sequelize", "generate sequerizerc") | ||
.option("-t, --travis", "generate travis"); | ||
.option("-t, --travis", "generate travis") | ||
.parse(process.argv); | ||
keza.on("--help", function() { | ||
@@ -89,0 +88,0 @@ console.log("Examples:"); |
{ | ||
"name": "keza", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Generate nodejs CI template files, Eslint config files, gitignore and readme file from the command line when keza's CLI is installed globally", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
9923
12
85