propelix-cli 0.1.0-dev2 → 0.1.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.
- package/dist/index.cjs +2 -2
- package/package.json +6 -7
package/dist/index.cjs
CHANGED
|
@@ -21078,7 +21078,7 @@ function registerTestCommand(program3) {
|
|
|
21078
21078
|
|
|
21079
21079
|
// src/index.ts
|
|
21080
21080
|
var program2 = new Command();
|
|
21081
|
-
program2.name("propelix").description("Propelix CLI").version("0.1.0
|
|
21081
|
+
program2.name("propelix").description("Propelix CLI").version("0.1.0").option("--base-url <url>", "API base URL (default: https://propelix.ai)").option("--token <token>", "Auth token (overrides stored config)").option("--project-id <id>", "Project ID (overrides stored config)").option("--insecure", "Disable TLS certificate verification (for local dev)").option("--json", "Output as JSON (deprecated, use --format json)").option("--format <fmt>", "Output format: json (default) | table");
|
|
21082
21082
|
program2.hook("preAction", () => {
|
|
21083
21083
|
if (program2.opts().insecure) {
|
|
21084
21084
|
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
|
|
@@ -21097,7 +21097,7 @@ registerImageCommand(program2);
|
|
|
21097
21097
|
registerChatCommand(program2);
|
|
21098
21098
|
registerTestCommand(program2);
|
|
21099
21099
|
program2.command("version").description("Print version number").action(() => {
|
|
21100
|
-
console.log("0.1.0
|
|
21100
|
+
console.log("0.1.0");
|
|
21101
21101
|
});
|
|
21102
21102
|
program2.command("whoami").description("Show the currently authenticated user").action(async () => {
|
|
21103
21103
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "propelix-cli",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "CLI for Propelix",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"bin": {
|
|
@@ -9,11 +9,6 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "tsup",
|
|
14
|
-
"dev": "tsup --watch",
|
|
15
|
-
"prepublishOnly": "pnpm run build"
|
|
16
|
-
},
|
|
17
12
|
"dependencies": {
|
|
18
13
|
"chalk": "^4.1.2",
|
|
19
14
|
"commander": "^12.1.0",
|
|
@@ -27,5 +22,9 @@
|
|
|
27
22
|
},
|
|
28
23
|
"engines": {
|
|
29
24
|
"node": ">=18"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "tsup",
|
|
28
|
+
"dev": "tsup --watch"
|
|
30
29
|
}
|
|
31
|
-
}
|
|
30
|
+
}
|