@vention/vention-cli 0.7.0 → 0.8.0

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.
Files changed (2) hide show
  1. package/cli.esm.js +16 -0
  2. package/package.json +1 -1
package/cli.esm.js CHANGED
@@ -346,6 +346,18 @@ const updateExistingAppDirectory = async (session, projectState, currentDir) =>
346
346
 
347
347
  const program = new Command();
348
348
  program.name("vention").description("CLI tool for Vention").version("0.2.0");
349
+ const ventionLogo = `
350
+ ╔════════════════════════════════════════════════════════════════════════════════════════════════════════╗
351
+ ║ ║
352
+ ║ ██╗ ██╗███████╗███╗ ██╗████████╗██╗ ██████╗ ███╗ ██╗ ██████╗██╗ ██╗ ║
353
+ ║ ██║ ██║██╔════╝████╗ ██║╚══██╔══╝██║██╔═══██╗████╗ ██║ ██╔════╝██║ ██║ ║
354
+ ║ ██║ ██║█████╗ ██╔██╗ ██║ ██║ ██║██║ ██║██╔██╗ ██║ ██║ ██║ ██║ ║
355
+ ║ ╚██╗ ██╔╝██╔══╝ ██║╚██╗██║ ██║ ██║██║ ██║██║╚██╗██║ ██║ ██║ ██║ ║
356
+ ║ ╚████╔╝ ███████╗██║ ╚████║ ██║ ██║╚██████╔╝██║ ╚████║ ╚██████╗███████╗██║ ║
357
+ ║ ╚═══╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝╚══════╝╚═╝ ║
358
+ ║ ║
359
+ ╚════════════════════════════════════════════════════════════════════════════════════════════════════════╝
360
+ `;
349
361
  program
350
362
  .command("login")
351
363
  .description("Login to Vention")
@@ -540,6 +552,10 @@ program
540
552
  const resolvedArgv = realpathSync(process.argv[1]);
541
553
  const resolvedUrl = new URL(import.meta.url).pathname;
542
554
  if (resolvedArgv === resolvedUrl) {
555
+ const showLogoConditions = [process.argv.length <= 2, process.argv.includes("--help"), process.argv.includes("-h")];
556
+ if (showLogoConditions.some(Boolean)) {
557
+ console.log(chalk.cyan(ventionLogo));
558
+ }
543
559
  program.parse(process.argv);
544
560
  }
545
561
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vention/vention-cli",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "CLI tool for Vention applications",
5
5
  "type": "module",
6
6
  "repository": {