trajectories-sh 1.23.0 → 1.23.1

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/cli.js +6 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -6,7 +6,7 @@ import { readFileSync } from "fs";
6
6
  import { fileURLToPath } from "url";
7
7
  import { dirname, join } from "path";
8
8
  var __dirname = dirname(fileURLToPath(import.meta.url));
9
- var version = "1.23.0";
9
+ var version = "1.23.1";
10
10
  try {
11
11
  const pkg = JSON.parse(readFileSync(join(__dirname, "..", "package.json"), "utf-8"));
12
12
  version = pkg.version;
@@ -599,4 +599,9 @@ program.command("whoami").description("Show current authentication status").acti
599
599
  console.log(chalk.dim(" Not logged in. Run: trajectories auth login"));
600
600
  }
601
601
  });
602
+ program.showHelpAfterError("(run: trajectories help)");
603
+ if (process.argv.length <= 2) {
604
+ program.outputHelp();
605
+ process.exit(1);
606
+ }
602
607
  await program.parseAsync();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trajectories-sh",
3
- "version": "1.23.0",
3
+ "version": "1.23.1",
4
4
  "description": "CLI for uploading trajectory jobs to trajectories.sh",
5
5
  "type": "module",
6
6
  "bin": {