@zinn-dev/cli 0.24.0 → 0.25.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/index.ts +2 -2
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -4,7 +4,7 @@ import { isHelpFlag } from "./src/lib";
4
4
  import packageJson from "./package.json";
5
5
 
6
6
  const args = process.argv.slice(2);
7
- const isVersionRequest = args.length === 1 && args[0] === "--version";
7
+ const isVersionRequest = args.length === 1 && ["-v", "--version"].includes(args[0]!);
8
8
 
9
9
  if (isVersionRequest) {
10
10
  console.info(packageJson.version);
@@ -15,7 +15,7 @@ Usage: zinn <command>
15
15
 
16
16
  Options:
17
17
  -h, --help Show help
18
- --version Show version
18
+ -v, --version Show version
19
19
  --json Print command output as JSON
20
20
 
21
21
  Commands:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-dev/cli",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "A kanban workflow in the terminal.",
5
5
  "license": "MIT",
6
6
  "bugs": {