@instafy/cli 0.1.2 → 0.1.3

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 +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -242,6 +242,10 @@ program
242
242
  }
243
243
  });
244
244
  export async function runCli(argv = process.argv) {
245
+ if (argv.length <= 2) {
246
+ program.outputHelp();
247
+ return;
248
+ }
245
249
  await program.parseAsync(argv);
246
250
  }
247
251
  if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instafy/cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Run Instafy projects locally, link folders to Studio, and share previews/webhooks via tunnels.",
5
5
  "private": false,
6
6
  "publishConfig": {