@jsondb-cloud/cli 1.0.15 → 1.0.16
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/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ const commander_1 = require("commander");
|
|
|
4
4
|
const config_1 = require("./lib/config");
|
|
5
5
|
const client_1 = require("./lib/client");
|
|
6
6
|
const output_1 = require("./lib/output");
|
|
7
|
+
const package_json_1 = require("../package.json");
|
|
7
8
|
const login_1 = require("./commands/login");
|
|
8
9
|
const documents_1 = require("./commands/documents");
|
|
9
10
|
const push_1 = require("./commands/push");
|
|
@@ -17,7 +18,7 @@ const program = new commander_1.Command();
|
|
|
17
18
|
program
|
|
18
19
|
.name("jsondb")
|
|
19
20
|
.description("The jsondb.cloud CLI — manage your JSON database from the terminal")
|
|
20
|
-
.version(
|
|
21
|
+
.version(package_json_1.version)
|
|
21
22
|
.option("--api-key <key>", "Use a specific API key")
|
|
22
23
|
.option("--project <ns>", 'Target project (default: "default")')
|
|
23
24
|
.option("--base-url <url>", "API base URL")
|