@coresource/hz 0.1.1 → 0.1.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/hz.mjs +4 -0
  2. package/package.json +1 -1
package/dist/hz.mjs CHANGED
@@ -4745,6 +4745,10 @@ function handleRunError(error, stderr) {
4745
4745
  async function runCli(argv, dependencies = {}) {
4746
4746
  const program = createProgram(dependencies);
4747
4747
  program.exitOverride();
4748
+ if (argv.length === 0) {
4749
+ program.outputHelp();
4750
+ return 0;
4751
+ }
4748
4752
  try {
4749
4753
  await program.parseAsync(argv, { from: "user" });
4750
4754
  return 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coresource/hz",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "hz": "dist/hz.mjs"