@harly/cli 0.2.0 → 0.2.2

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/dist/index.js +6 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -63,7 +63,7 @@ var force = flags.has("--force");
63
63
  var yes = flags.has("--yes");
64
64
  var json = flags.has("--json");
65
65
  var interactive = Boolean(process.stdin.isTTY && process.stdout.isTTY && !process.env.CI);
66
- var cliVersion = "0.1.4";
66
+ var cliVersion = "0.2.2";
67
67
  var logo = `
68
68
  \u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2557
69
69
  \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2551 \u255A\u2588\u2588\u2557 \u2588\u2588\u2554\u255D
@@ -1059,6 +1059,11 @@ async function main() {
1059
1059
  case "-h":
1060
1060
  usage();
1061
1061
  return;
1062
+ case "--version":
1063
+ case "-v":
1064
+ process.stdout.write(`${cliVersion}
1065
+ `);
1066
+ return;
1062
1067
  default:
1063
1068
  usage();
1064
1069
  throw new CliError(`Unknown command: ${command}`, 2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harly/cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Official operations CLI for self-hosted Harly.",