@moderate-cli/core
Advanced tools
Comparing version 0.1.8 to 0.1.11
@@ -6,7 +6,6 @@ #! /usr/bin/env node | ||
// if (importLocal(__filename)) { | ||
// npmLog.info("cli", "正在使用 moderate-cli new test"); | ||
// } else { | ||
// require("../lib/index")(process.argv.slice(2)); | ||
// } | ||
require("../lib/index")(process.argv.slice(2)); | ||
if (importLocal(__filename)) { | ||
npmLog.info("cli", "正在使用 局部安装的 npm 上的 moderate-cli"); | ||
} else { | ||
require("../lib/index")(process.argv.slice(2)); | ||
} |
@@ -5,4 +5,7 @@ "use strict"; | ||
const pkg = require("../package.json"); | ||
const log = require("@moderate-cli/log") | ||
function core() { | ||
console.log("exec core 本地的"); | ||
log.success("success","test121") | ||
} |
{ | ||
"name": "@moderate-cli/core", | ||
"version": "0.1.8", | ||
"version": "0.1.11", | ||
"description": "> TODO: description", | ||
@@ -20,3 +20,3 @@ "author": "qanglee <545540710@qq.com>", | ||
"scripts": { | ||
"moderate-cli": "bin/index.js" | ||
"start": "moderate-cli" | ||
}, | ||
@@ -28,3 +28,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "9db97e4be403c708620f05261551c9044bbb84f9", | ||
"gitHead": "dab1512001c447c94f091b38fcf1e902ec070fb2", | ||
"publishConfig": { | ||
@@ -31,0 +31,0 @@ "access": "public" |
2225
15