@cabloy/cli 3.0.48 → 3.0.50

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 CHANGED
@@ -33,17 +33,23 @@ export class CliCommand extends BaseCommand {
33
33
  rawArgv,
34
34
  };
35
35
  // log start
36
- // eslint-disable-next-line no-console
37
- console.log(`${process.env.CabloyCliBrandName} ${chalk.cyan(argv.cliFullName)} at %s\n`, cwd);
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
- this._logMetaWelcomes();
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
- this._logCliDocs();
50
+ if (!argv.dummy) {
51
+ this._logCliDocs();
52
+ }
47
53
  // done
48
54
  // console.log(chalk.cyan('\n cli successfully!\n'));
49
55
  }
@@ -3,6 +3,7 @@ export interface ICommandArgv {
3
3
  projectPath: string;
4
4
  cliFullName: string;
5
5
  vscode: boolean;
6
+ dummy: boolean;
6
7
  ci: boolean;
7
8
  _: string[];
8
9
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cabloy/cli",
3
3
  "type": "module",
4
- "version": "3.0.48",
4
+ "version": "3.0.50",
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.26",
31
- "@cabloy/module-info": "^1.3.26",
32
- "@cabloy/process-helper": "^2.0.19",
33
- "@cabloy/utils": "^1.0.41",
30
+ "@cabloy/module-glob": "^5.2.27",
31
+ "@cabloy/module-info": "^1.3.27",
32
+ "@cabloy/process-helper": "^2.0.21",
33
+ "@cabloy/utils": "^1.0.42",
34
34
  "@cabloy/word-utils": "^2.0.1",
35
35
  "@npmcli/config": "^8.3.4",
36
36
  "@zhennann/common-bin": "^4.0.0",