@holistics/cli-core 0.5.9 → 0.6.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.
package/README.md CHANGED
@@ -19,3 +19,14 @@ This is possible because we already compiled the code into a single `commands.js
19
19
  - Run `bun_build.sh`
20
20
 
21
21
  If `bun` is not installed at the local, the build will be skipped.
22
+
23
+ ## Quick run
24
+ For quickly testing the build file, can use the below command to run
25
+
26
+ ```
27
+ # build file
28
+ ./bun_build.sh
29
+
30
+ # run the build
31
+ node bin/holistics.js
32
+ ```
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { Command } from '@commander-js/extra-typings';
4
+ import { registerCommands } from '../dist/commands.js';
5
+
6
+ const program = new Command();
7
+
8
+ registerCommands(program);
9
+
10
+ program.parse(process.argv);