wyt-cli 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/commands/deploy.js +1 -1
- package/bin/commands/run.js +1 -1
- package/package.json +1 -1
package/bin/commands/deploy.js
CHANGED
|
@@ -20,7 +20,7 @@ const startTime = Date.now(); // 计时器
|
|
|
20
20
|
export default function () {
|
|
21
21
|
const command = new Command('deploy');
|
|
22
22
|
|
|
23
|
-
command.description('
|
|
23
|
+
command.description('部署项目').action(async () => {
|
|
24
24
|
try {
|
|
25
25
|
// 校验项目目录
|
|
26
26
|
if (!checkTargetDir(process.cwd())) {
|
package/bin/commands/run.js
CHANGED
|
@@ -10,7 +10,7 @@ import { checkTargetDir, getProjects } from '../lib/dir.js';
|
|
|
10
10
|
export default function () {
|
|
11
11
|
const command = new Command('run');
|
|
12
12
|
|
|
13
|
-
command.description('
|
|
13
|
+
command.description('运行项目').action(async () => {
|
|
14
14
|
try {
|
|
15
15
|
// 校验项目根目录是否合法
|
|
16
16
|
if (!checkTargetDir(process.cwd())) {
|