@4c/cli
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -136,3 +136,3 @@ const path = require('path'); | ||
type: 'bool', | ||
default: false, | ||
default: undefined, | ||
}), | ||
@@ -238,4 +238,4 @@ | ||
} | ||
const exists = !await npmName(pkg.name); | ||
if (!exists) { | ||
if (isPublic != null) { | ||
args.push('--access', isPublic ? 'public' : 'restricted'); | ||
@@ -242,0 +242,0 @@ } |
{ | ||
"name": "@4c/cli", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/4Catalyzer/init.git", |
111083
534