Comparing version 1.0.31 to 1.0.32
@@ -15,7 +15,6 @@ #!/usr/bin/env node | ||
const package_info = require("./package.json"); | ||
console.log('谢邀,人在美国,刚下飞机。'); | ||
const program = new commander_1.Command(); | ||
program | ||
.name("xiakebot-cli") | ||
.option('-g, --gen', "生成默认策略") | ||
.option('-r, --run', "在机器人上运行目录下的module.ts") | ||
.helpOption('-h, --help', "获取帮助信息") | ||
@@ -25,3 +24,4 @@ .version(package_info.version, "-v, --version", "获取版本信息"); | ||
(() => __awaiter(void 0, void 0, void 0, function* () { | ||
if (program.gen) { | ||
if (program.run) { | ||
console.log("哈哈"); | ||
} | ||
@@ -28,0 +28,0 @@ return 0; |
@@ -6,3 +6,2 @@ #!/usr/bin/env node | ||
console.log('谢邀,人在美国,刚下飞机。'); | ||
const program: any = new Command(); | ||
@@ -13,3 +12,3 @@ | ||
.name("xiakebot-cli") | ||
.option('-g, --gen', "生成默认策略") | ||
.option('-r, --run', "在机器人上运行目录下的module.ts") | ||
.helpOption('-h, --help', "获取帮助信息") | ||
@@ -24,5 +23,4 @@ .version(package_info.version, "-v, --version", "获取版本信息") | ||
(async () => { | ||
if (program.gen) { | ||
if (program.run) { | ||
console.log("哈哈"); | ||
} | ||
@@ -29,0 +27,0 @@ return 0; |
{ | ||
"name": "xiakebot", | ||
"version": "1.0.31", | ||
"version": "1.0.32", | ||
"description": "xiakebot", | ||
@@ -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
4046