cassian-cli 0.1.9 → 0.2.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/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -15,11 +15,14 @@ import { logs } from "./commands/logs.js";
15
15
  import { volumeCreate, volumeList, volumeDelete } from "./commands/volume.js";
16
16
  import { sync } from "./commands/sync.js";
17
17
  import { exec } from "./commands/exec.js";
18
+ import { createRequire } from "module";
19
+ const require = createRequire(import.meta.url);
20
+ const { version } = require("../package.json");
18
21
  const program = new Command();
19
22
  program
20
23
  .name("cassian")
21
24
  .description("Cassian GPU Cloud CLI")
22
- .version("0.1.0");
25
+ .version(version);
23
26
  program
24
27
  .command("login")
25
28
  .description("Authenticate with Cassian via browser")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cassian-cli",
3
- "version": "0.1.9",
3
+ "version": "0.2.0",
4
4
  "description": "The Cassian GPU cloud CLI — provision GPUs, sync files, and run workloads from your terminal.",
5
5
  "type": "module",
6
6
  "bin": {