@cabloy/cli 3.0.49 → 3.0.51
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/dist/lib/cli.js +10 -4
- package/dist/types/argv.d.ts +1 -0
- package/package.json +5 -5
package/dist/lib/cli.js
CHANGED
|
@@ -33,17 +33,23 @@ export class CliCommand extends BaseCommand {
|
|
|
33
33
|
rawArgv,
|
|
34
34
|
};
|
|
35
35
|
// log start
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
if (!argv.dummy) {
|
|
37
|
+
// eslint-disable-next-line no-console
|
|
38
|
+
console.log(`${process.env.CabloyCliBrandName} ${chalk.cyan(argv.cliFullName)} at %s\n`, cwd);
|
|
39
|
+
}
|
|
38
40
|
// log meta welcomes
|
|
39
|
-
|
|
41
|
+
if (!argv.dummy) {
|
|
42
|
+
this._logMetaWelcomes();
|
|
43
|
+
}
|
|
40
44
|
// prompt
|
|
41
45
|
await this._promptGroups({ context, groups: this.__groups });
|
|
42
46
|
// execute
|
|
43
47
|
const beanCli = new BeanCli();
|
|
44
48
|
await beanCli.execute({ context });
|
|
45
49
|
// done: log cli docs
|
|
46
|
-
|
|
50
|
+
if (!argv.dummy) {
|
|
51
|
+
this._logCliDocs();
|
|
52
|
+
}
|
|
47
53
|
// done
|
|
48
54
|
// console.log(chalk.cyan('\n cli successfully!\n'));
|
|
49
55
|
}
|
package/dist/types/argv.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabloy/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.51",
|
|
5
5
|
"description": "@cabloy/cli",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@babel/parser": "^7.26.5",
|
|
30
|
-
"@cabloy/module-glob": "^5.2.
|
|
31
|
-
"@cabloy/module-info": "^1.3.
|
|
32
|
-
"@cabloy/process-helper": "^2.0.
|
|
33
|
-
"@cabloy/utils": "^1.0.
|
|
30
|
+
"@cabloy/module-glob": "^5.2.28",
|
|
31
|
+
"@cabloy/module-info": "^1.3.28",
|
|
32
|
+
"@cabloy/process-helper": "^2.0.21",
|
|
33
|
+
"@cabloy/utils": "^1.0.43",
|
|
34
34
|
"@cabloy/word-utils": "^2.0.1",
|
|
35
35
|
"@npmcli/config": "^8.3.4",
|
|
36
36
|
"@zhennann/common-bin": "^4.0.0",
|