@revenexx/cli 0.0.9 → 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/README.md +181 -2
- package/dist/bundle-win-arm64.mjs +2798 -568
- package/dist/cli.cjs +2814 -584
- package/dist/cli.d.ts.map +1 -1
- package/dist/index.cjs +44 -2
- package/dist/index.js +44 -2
- package/dist/lib/alias.d.ts +44 -0
- package/dist/lib/alias.d.ts.map +1 -0
- package/dist/lib/client.d.ts +13 -0
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/commands/generic.d.ts.map +1 -1
- package/dist/lib/commands/repl.d.ts +3 -0
- package/dist/lib/commands/repl.d.ts.map +1 -0
- package/dist/lib/commands/services/apps.d.ts.map +1 -1
- package/dist/lib/commands/services/avatars.d.ts.map +1 -1
- package/dist/lib/commands/services/carts.d.ts.map +1 -1
- package/dist/lib/commands/services/channels.d.ts.map +1 -1
- package/dist/lib/commands/services/customers.d.ts.map +1 -1
- package/dist/lib/commands/services/forms.d.ts.map +1 -1
- package/dist/lib/commands/services/greetings.d.ts.map +1 -1
- package/dist/lib/commands/services/inventories.d.ts.map +1 -1
- package/dist/lib/commands/services/markets.d.ts.map +1 -1
- package/dist/lib/commands/services/messaging.d.ts.map +1 -1
- package/dist/lib/commands/services/orderlists.d.ts.map +1 -1
- package/dist/lib/commands/services/orders.d.ts.map +1 -1
- package/dist/lib/commands/services/pages.d.ts.map +1 -1
- package/dist/lib/commands/services/payments.d.ts.map +1 -1
- package/dist/lib/commands/services/prices.d.ts.map +1 -1
- package/dist/lib/commands/services/products.d.ts.map +1 -1
- package/dist/lib/commands/services/search.d.ts.map +1 -1
- package/dist/lib/commands/services/shipping.d.ts.map +1 -1
- package/dist/lib/commands/services/sites.d.ts.map +1 -1
- package/dist/lib/commands/services/storage.d.ts.map +1 -1
- package/dist/lib/commands/services/tokens.d.ts.map +1 -1
- package/dist/lib/commands/status.d.ts +3 -0
- package/dist/lib/commands/status.d.ts.map +1 -0
- package/dist/lib/config.d.ts +17 -0
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/constants.d.ts +2 -2
- package/dist/lib/constants.d.ts.map +1 -1
- package/dist/lib/interactive.d.ts +7 -3
- package/dist/lib/interactive.d.ts.map +1 -1
- package/dist/lib/parser.d.ts +51 -2
- package/dist/lib/parser.d.ts.map +1 -1
- package/dist/lib/types.d.ts +19 -0
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/lib/utils.d.ts +10 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/tests/alias.test.d.ts +2 -0
- package/dist/tests/alias.test.d.ts.map +1 -0
- package/dist/tests/banner.test.d.ts +2 -0
- package/dist/tests/banner.test.d.ts.map +1 -0
- package/dist/tests/output-format.test.d.ts +2 -0
- package/dist/tests/output-format.test.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../cli.ts"],"names":[],"mappings":";AAEA,OAAO,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../cli.ts"],"names":[],"mappings":";AAEA,OAAO,eAAe,CAAC;AA0DvB,OAAO,gCAAgC,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -35920,7 +35920,7 @@ var ConfigSchema = external_exports.object({
|
|
|
35920
35920
|
|
|
35921
35921
|
// lib/constants.ts
|
|
35922
35922
|
var SDK_TITLE = "Revenexx";
|
|
35923
|
-
var SDK_VERSION = "0.0
|
|
35923
|
+
var SDK_VERSION = "0.1.0";
|
|
35924
35924
|
var SDK_NAME = "Revenexx CLI";
|
|
35925
35925
|
var SDK_PLATFORM = "";
|
|
35926
35926
|
var SDK_LANGUAGE = "cli";
|
|
@@ -36483,6 +36483,8 @@ var Global = class _Global extends Config {
|
|
|
36483
36483
|
static PREFERENCE_REFRESH_TOKEN = "refreshToken";
|
|
36484
36484
|
static PREFERENCE_JWT_EXPIRES = "jwtExpiresAt";
|
|
36485
36485
|
static PREFERENCE_AUTH_METHOD = "authMethod";
|
|
36486
|
+
static PREFERENCE_ALIASES = "aliases";
|
|
36487
|
+
static PREFERENCE_SENSITIVE_TENANTS = "sensitiveTenants";
|
|
36486
36488
|
static IGNORE_ATTRIBUTES = [
|
|
36487
36489
|
_Global.PREFERENCE_CURRENT,
|
|
36488
36490
|
_Global.PREFERENCE_SELF_SIGNED,
|
|
@@ -36495,7 +36497,9 @@ var Global = class _Global extends Config {
|
|
|
36495
36497
|
_Global.PREFERENCE_JWT,
|
|
36496
36498
|
_Global.PREFERENCE_REFRESH_TOKEN,
|
|
36497
36499
|
_Global.PREFERENCE_JWT_EXPIRES,
|
|
36498
|
-
_Global.PREFERENCE_AUTH_METHOD
|
|
36500
|
+
_Global.PREFERENCE_AUTH_METHOD,
|
|
36501
|
+
_Global.PREFERENCE_ALIASES,
|
|
36502
|
+
_Global.PREFERENCE_SENSITIVE_TENANTS
|
|
36499
36503
|
];
|
|
36500
36504
|
static MODE_ADMIN = "admin";
|
|
36501
36505
|
static MODE_DEFAULT = "default";
|
|
@@ -36644,6 +36648,44 @@ var Global = class _Global extends Config {
|
|
|
36644
36648
|
setAuthMethod(authMethod) {
|
|
36645
36649
|
this.setTo(_Global.PREFERENCE_AUTH_METHOD, authMethod);
|
|
36646
36650
|
}
|
|
36651
|
+
/**
|
|
36652
|
+
* User-defined command aliases (git-style), keyed by alias name. These are
|
|
36653
|
+
* machine-wide rather than session-scoped, so they live at the top level of
|
|
36654
|
+
* prefs.json (and are excluded from the session list via IGNORE_ATTRIBUTES).
|
|
36655
|
+
*/
|
|
36656
|
+
getAliases() {
|
|
36657
|
+
const aliases = this.get(_Global.PREFERENCE_ALIASES);
|
|
36658
|
+
return aliases ?? {};
|
|
36659
|
+
}
|
|
36660
|
+
setAlias(name, expansion) {
|
|
36661
|
+
const aliases = this.getAliases();
|
|
36662
|
+
aliases[name] = expansion;
|
|
36663
|
+
this.set(_Global.PREFERENCE_ALIASES, aliases);
|
|
36664
|
+
}
|
|
36665
|
+
removeAlias(name) {
|
|
36666
|
+
const aliases = this.getAliases();
|
|
36667
|
+
if (!(name in aliases)) {
|
|
36668
|
+
return false;
|
|
36669
|
+
}
|
|
36670
|
+
delete aliases[name];
|
|
36671
|
+
this.set(_Global.PREFERENCE_ALIASES, aliases);
|
|
36672
|
+
return true;
|
|
36673
|
+
}
|
|
36674
|
+
/**
|
|
36675
|
+
* Tenant slugs the user has flagged as sensitive, so the context banner
|
|
36676
|
+
* (lib/parser.ts) renders its prominent production warning for them even
|
|
36677
|
+
* when the endpoint alone wouldn't trigger it. Machine-wide, top-level.
|
|
36678
|
+
*/
|
|
36679
|
+
getSensitiveTenants() {
|
|
36680
|
+
const tenants = this.get(_Global.PREFERENCE_SENSITIVE_TENANTS);
|
|
36681
|
+
return Array.isArray(tenants) ? tenants : [];
|
|
36682
|
+
}
|
|
36683
|
+
setSensitiveTenants(tenants) {
|
|
36684
|
+
const cleaned = Array.from(
|
|
36685
|
+
new Set(tenants.map((t) => t.trim()).filter((t) => t !== ""))
|
|
36686
|
+
);
|
|
36687
|
+
this.set(_Global.PREFERENCE_SENSITIVE_TENANTS, cleaned);
|
|
36688
|
+
}
|
|
36647
36689
|
hasFrom(key) {
|
|
36648
36690
|
const current = this.getCurrentSession();
|
|
36649
36691
|
if (current) {
|
package/dist/index.js
CHANGED
|
@@ -35902,7 +35902,7 @@ var ConfigSchema = external_exports.object({
|
|
|
35902
35902
|
|
|
35903
35903
|
// lib/constants.ts
|
|
35904
35904
|
var SDK_TITLE = "Revenexx";
|
|
35905
|
-
var SDK_VERSION = "0.0
|
|
35905
|
+
var SDK_VERSION = "0.1.0";
|
|
35906
35906
|
var SDK_NAME = "Revenexx CLI";
|
|
35907
35907
|
var SDK_PLATFORM = "";
|
|
35908
35908
|
var SDK_LANGUAGE = "cli";
|
|
@@ -36465,6 +36465,8 @@ var Global = class _Global extends Config {
|
|
|
36465
36465
|
static PREFERENCE_REFRESH_TOKEN = "refreshToken";
|
|
36466
36466
|
static PREFERENCE_JWT_EXPIRES = "jwtExpiresAt";
|
|
36467
36467
|
static PREFERENCE_AUTH_METHOD = "authMethod";
|
|
36468
|
+
static PREFERENCE_ALIASES = "aliases";
|
|
36469
|
+
static PREFERENCE_SENSITIVE_TENANTS = "sensitiveTenants";
|
|
36468
36470
|
static IGNORE_ATTRIBUTES = [
|
|
36469
36471
|
_Global.PREFERENCE_CURRENT,
|
|
36470
36472
|
_Global.PREFERENCE_SELF_SIGNED,
|
|
@@ -36477,7 +36479,9 @@ var Global = class _Global extends Config {
|
|
|
36477
36479
|
_Global.PREFERENCE_JWT,
|
|
36478
36480
|
_Global.PREFERENCE_REFRESH_TOKEN,
|
|
36479
36481
|
_Global.PREFERENCE_JWT_EXPIRES,
|
|
36480
|
-
_Global.PREFERENCE_AUTH_METHOD
|
|
36482
|
+
_Global.PREFERENCE_AUTH_METHOD,
|
|
36483
|
+
_Global.PREFERENCE_ALIASES,
|
|
36484
|
+
_Global.PREFERENCE_SENSITIVE_TENANTS
|
|
36481
36485
|
];
|
|
36482
36486
|
static MODE_ADMIN = "admin";
|
|
36483
36487
|
static MODE_DEFAULT = "default";
|
|
@@ -36626,6 +36630,44 @@ var Global = class _Global extends Config {
|
|
|
36626
36630
|
setAuthMethod(authMethod) {
|
|
36627
36631
|
this.setTo(_Global.PREFERENCE_AUTH_METHOD, authMethod);
|
|
36628
36632
|
}
|
|
36633
|
+
/**
|
|
36634
|
+
* User-defined command aliases (git-style), keyed by alias name. These are
|
|
36635
|
+
* machine-wide rather than session-scoped, so they live at the top level of
|
|
36636
|
+
* prefs.json (and are excluded from the session list via IGNORE_ATTRIBUTES).
|
|
36637
|
+
*/
|
|
36638
|
+
getAliases() {
|
|
36639
|
+
const aliases = this.get(_Global.PREFERENCE_ALIASES);
|
|
36640
|
+
return aliases ?? {};
|
|
36641
|
+
}
|
|
36642
|
+
setAlias(name, expansion) {
|
|
36643
|
+
const aliases = this.getAliases();
|
|
36644
|
+
aliases[name] = expansion;
|
|
36645
|
+
this.set(_Global.PREFERENCE_ALIASES, aliases);
|
|
36646
|
+
}
|
|
36647
|
+
removeAlias(name) {
|
|
36648
|
+
const aliases = this.getAliases();
|
|
36649
|
+
if (!(name in aliases)) {
|
|
36650
|
+
return false;
|
|
36651
|
+
}
|
|
36652
|
+
delete aliases[name];
|
|
36653
|
+
this.set(_Global.PREFERENCE_ALIASES, aliases);
|
|
36654
|
+
return true;
|
|
36655
|
+
}
|
|
36656
|
+
/**
|
|
36657
|
+
* Tenant slugs the user has flagged as sensitive, so the context banner
|
|
36658
|
+
* (lib/parser.ts) renders its prominent production warning for them even
|
|
36659
|
+
* when the endpoint alone wouldn't trigger it. Machine-wide, top-level.
|
|
36660
|
+
*/
|
|
36661
|
+
getSensitiveTenants() {
|
|
36662
|
+
const tenants = this.get(_Global.PREFERENCE_SENSITIVE_TENANTS);
|
|
36663
|
+
return Array.isArray(tenants) ? tenants : [];
|
|
36664
|
+
}
|
|
36665
|
+
setSensitiveTenants(tenants) {
|
|
36666
|
+
const cleaned = Array.from(
|
|
36667
|
+
new Set(tenants.map((t) => t.trim()).filter((t) => t !== ""))
|
|
36668
|
+
);
|
|
36669
|
+
this.set(_Global.PREFERENCE_SENSITIVE_TENANTS, cleaned);
|
|
36670
|
+
}
|
|
36629
36671
|
hasFrom(key) {
|
|
36630
36672
|
const current = this.getCurrentSession();
|
|
36631
36673
|
if (current) {
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Command } from "commander";
|
|
2
|
+
/**
|
|
3
|
+
* Command aliases (DX-111) — git-style short forms resolved *before* commander
|
|
4
|
+
* parses argv, so `revenexx p ls` reaches `revenexx products list` without any
|
|
5
|
+
* per-command wiring.
|
|
6
|
+
*
|
|
7
|
+
* Two layers, applied in order (see resolveAliases):
|
|
8
|
+
* 1. User-defined aliases (`alias set …`), persisted in globalConfig.
|
|
9
|
+
* 2. Built-in abbreviations for services and verbs.
|
|
10
|
+
*
|
|
11
|
+
* Every rewrite is gated on the target command actually existing in the
|
|
12
|
+
* program, so a built-in alias is a harmless no-op on an SDK whose spec doesn't
|
|
13
|
+
* ship that service, and a real command always wins over an alias of the same
|
|
14
|
+
* name (an alias can never silently shadow core functionality).
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Built-in first-token abbreviations for common services. Entries whose target
|
|
18
|
+
* service isn't present in this SDK are ignored at resolution time, so this
|
|
19
|
+
* list can stay generous without risking a wrong rewrite.
|
|
20
|
+
*/
|
|
21
|
+
export declare const BUILTIN_COMMAND_ALIASES: Record<string, string>;
|
|
22
|
+
/**
|
|
23
|
+
* Built-in second-token abbreviations for the CRUD verbs every service shares.
|
|
24
|
+
* Scoped to the resolved service's subcommands at resolution time.
|
|
25
|
+
*/
|
|
26
|
+
export declare const BUILTIN_VERB_ALIASES: Record<string, string>;
|
|
27
|
+
/**
|
|
28
|
+
* Split an alias expansion into argv tokens, honouring single/double quotes so
|
|
29
|
+
* `alias set deploy "apps create-deployment --activate true"` round-trips. A
|
|
30
|
+
* deliberately tiny shell-ish splitter — no variable/glob expansion.
|
|
31
|
+
*/
|
|
32
|
+
export declare const tokenize: (input: string) => string[];
|
|
33
|
+
/**
|
|
34
|
+
* Rewrite argv by applying user-defined and built-in aliases. Pure and
|
|
35
|
+
* synchronous — safe to run before commander parsing and the guided picker.
|
|
36
|
+
* Returns the original argv untouched when nothing matches.
|
|
37
|
+
*/
|
|
38
|
+
export declare const resolveAliases: (program: Command, argv: string[]) => string[];
|
|
39
|
+
/**
|
|
40
|
+
* The `alias` command: manage user-defined aliases. Built-in aliases are
|
|
41
|
+
* fixed and listed for reference under `alias list`.
|
|
42
|
+
*/
|
|
43
|
+
export declare const alias: Command;
|
|
44
|
+
//# sourceMappingURL=alias.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alias.d.ts","sourceRoot":"","sources":["../../lib/alias.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgBpC;;;;;;;;;;;;;GAaG;AAEH;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAmB1D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAavD,CAAC;AAKF;;;;GAIG;AACH,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,KAAG,MAAM,EAgC9C,CAAC;AAaF;;;;GAIG;AACH,eAAO,MAAM,cAAc,GACzB,SAAS,OAAO,EAChB,MAAM,MAAM,EAAE,KACb,MAAM,EA2CR,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,SAI2C,CAAC"}
|
package/dist/lib/client.d.ts
CHANGED
|
@@ -10,6 +10,19 @@ export declare class RevenexxException extends Error {
|
|
|
10
10
|
requestId?: string;
|
|
11
11
|
constructor(message: string, code?: number | string, type?: string, response?: string, requestId?: string);
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Map a failed request to a meaningful process exit code so scripts and CI can
|
|
15
|
+
* branch on *why* a command failed instead of a blanket `1`. Keyed off the
|
|
16
|
+
* numeric status carried on {@link RevenexxException.code}; falls back to `1`
|
|
17
|
+
* for locally-raised or non-HTTP errors.
|
|
18
|
+
*
|
|
19
|
+
* 2 usage error (bad flags/args — raised by the arg parser, not here)
|
|
20
|
+
* 4 authentication/authorization failure (401/403)
|
|
21
|
+
* 5 not found (404)
|
|
22
|
+
* 8 rate limited (429)
|
|
23
|
+
* 1 generic failure (network, timeout, 5xx, everything else)
|
|
24
|
+
*/
|
|
25
|
+
export declare const exitCodeForError: (err: unknown) => number;
|
|
13
26
|
declare class Client {
|
|
14
27
|
private endpoint;
|
|
15
28
|
headers: Headers;
|
package/dist/lib/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version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,CAmB5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repl.d.ts","sourceRoot":"","sources":["../../../lib/commands/repl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAqNpC,eAAO,MAAM,IAAI,SAed,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/apps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/apps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkBpC,eAAO,MAAM,IAAI,SAOb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatars.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/avatars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"avatars.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/avatars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAepC,eAAO,MAAM,OAAO,SAOhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carts.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/carts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"carts.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/carts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,eAAO,MAAM,KAAK,SAOd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/channels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/channels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,eAAO,MAAM,QAAQ,SAOjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/customers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/customers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,eAAO,MAAM,SAAS,SAOlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forms.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/forms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"forms.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/forms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgBpC,eAAO,MAAM,KAAK,SAOd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greetings.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/greetings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"greetings.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/greetings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAepC,eAAO,MAAM,SAAS,SAOlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inventories.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/inventories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"inventories.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/inventories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,eAAO,MAAM,WAAW,SAOpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markets.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/markets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"markets.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/markets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,eAAO,MAAM,OAAO,SAOhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messaging.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/messaging.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"messaging.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/messaging.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,eAAO,MAAM,SAAS,SAOlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orderlists.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/orderlists.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"orderlists.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/orderlists.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,eAAO,MAAM,UAAU,SAOnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orders.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/orders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"orders.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/orders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgBpC,eAAO,MAAM,MAAM,SAOf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/pages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/pages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,eAAO,MAAM,KAAK,SAOd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/payments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"payments.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/payments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,eAAO,MAAM,QAAQ,SAOjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prices.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/prices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"prices.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/prices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,eAAO,MAAM,MAAM,SAOf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/products.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/products.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,eAAO,MAAM,QAAQ,SAOjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAepC,eAAO,MAAM,MAAM,SAOf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shipping.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/shipping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"shipping.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/shipping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,eAAO,MAAM,QAAQ,SAOjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sites.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/sites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"sites.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/sites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkBpC,eAAO,MAAM,KAAK,SAOd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkBpC,eAAO,MAAM,OAAO,SAOhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgBpC,eAAO,MAAM,MAAM,SAOf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../lib/commands/status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkFpC,eAAO,MAAM,MAAM,SAyEhB,CAAC"}
|
package/dist/lib/config.d.ts
CHANGED
|
@@ -94,6 +94,8 @@ declare class Global extends Config<GlobalConfigData> {
|
|
|
94
94
|
static PREFERENCE_REFRESH_TOKEN: "refreshToken";
|
|
95
95
|
static PREFERENCE_JWT_EXPIRES: "jwtExpiresAt";
|
|
96
96
|
static PREFERENCE_AUTH_METHOD: "authMethod";
|
|
97
|
+
static PREFERENCE_ALIASES: "aliases";
|
|
98
|
+
static PREFERENCE_SENSITIVE_TENANTS: "sensitiveTenants";
|
|
97
99
|
static IGNORE_ATTRIBUTES: readonly string[];
|
|
98
100
|
static MODE_ADMIN: string;
|
|
99
101
|
static MODE_DEFAULT: string;
|
|
@@ -130,6 +132,21 @@ declare class Global extends Config<GlobalConfigData> {
|
|
|
130
132
|
setJwtExpires(expiresAt: number): void;
|
|
131
133
|
getAuthMethod(): string;
|
|
132
134
|
setAuthMethod(authMethod: string): void;
|
|
135
|
+
/**
|
|
136
|
+
* User-defined command aliases (git-style), keyed by alias name. These are
|
|
137
|
+
* machine-wide rather than session-scoped, so they live at the top level of
|
|
138
|
+
* prefs.json (and are excluded from the session list via IGNORE_ATTRIBUTES).
|
|
139
|
+
*/
|
|
140
|
+
getAliases(): Record<string, string>;
|
|
141
|
+
setAlias(name: string, expansion: string): void;
|
|
142
|
+
removeAlias(name: string): boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Tenant slugs the user has flagged as sensitive, so the context banner
|
|
145
|
+
* (lib/parser.ts) renders its prominent production warning for them even
|
|
146
|
+
* when the endpoint alone wouldn't trigger it. Machine-wide, top-level.
|
|
147
|
+
*/
|
|
148
|
+
getSensitiveTenants(): string[];
|
|
149
|
+
setSensitiveTenants(tenants: string[]): void;
|
|
133
150
|
hasFrom(key: string): boolean;
|
|
134
151
|
getFrom(key: string): any;
|
|
135
152
|
setTo(key: string, value: any): void;
|
package/dist/lib/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","s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EAAE,MAAM,GAAG,OAAO;IAW7B,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG;IAUzB,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;CAUrC;AAED,eAAO,MAAM,WAAW,OAAc,CAAC;AACvC,eAAO,MAAM,YAAY,QAAe,CAAC;AACzC,OAAO,EACL,cAAc,EACd,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,WAAW,EACX,SAAS,EACT,cAAc,EACd,SAAS,EACT,aAAa,GACd,CAAC"}
|
package/dist/lib/constants.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const SDK_TITLE = "Revenexx";
|
|
2
2
|
export declare const SDK_TITLE_LOWER = "revenexx";
|
|
3
|
-
export declare const SDK_VERSION = "0.0
|
|
3
|
+
export declare const SDK_VERSION = "0.1.0";
|
|
4
4
|
export declare const SDK_NAME = "Revenexx CLI";
|
|
5
5
|
export declare const SDK_PLATFORM = "";
|
|
6
6
|
export declare const SDK_LANGUAGE = "cli";
|
|
7
|
-
export declare const SDK_LOGO = "\n /$$$$$$$\n| $$__ $$\n| $$ \\ $$ /$$$$$$
|
|
7
|
+
export declare const SDK_LOGO = "\n /$$$$$$$\n| $$__ $$\n| $$ \\ $$ /$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$ /$$ /$$ /$$ /$$\n| $$$$$$$/ /$$__ $$| $$ /$$//$$__ $$| $$__ $$ /$$__ $$| $$ /$$/| $$ /$$/\n| $$__ $$| $$$$$$$$ \\ $$/$$/| $$$$$$$$| $$ \\ $$| $$$$$$$$ \\ $$$$/ \\ $$$$/\n| $$ \\ $$| $$_____/ \\ $$$/ | $$_____/| $$ | $$| $$_____/ >$$ $$ >$$ $$\n| $$ | $$| $$$$$$$ \\ $/ | $$$$$$$| $$ | $$| $$$$$$$ /$$/\\ $$ /$$/\\ $$\n|__/ |__/ \\_______/ \\_/ \\_______/|__/ |__/ \\_______/|__/ \\__/|__/ \\__/\n CLI\n\n";
|
|
8
8
|
export declare const EXECUTABLE_NAME = "revenexx";
|
|
9
9
|
export declare const NPM_PACKAGE_NAME = "@revenexx/cli";
|
|
10
10
|
export declare const NPM_REGISTRY_URL = "https://registry.npmjs.org/@revenexx/cli/latest";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../lib/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,SAAS,aAAa,CAAC;AACpC,eAAO,MAAM,eAAe,aAAa,CAAC;AAC1C,eAAO,MAAM,WAAW,UAAU,CAAC;AACnC,eAAO,MAAM,QAAQ,iBAAiB,CAAC;AACvC,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,eAAO,MAAM,YAAY,QAAQ,CAAC;AAClC,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../lib/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,SAAS,aAAa,CAAC;AACpC,eAAO,MAAM,eAAe,aAAa,CAAC;AAC1C,eAAO,MAAM,WAAW,UAAU,CAAC;AACnC,eAAO,MAAM,QAAQ,iBAAiB,CAAC;AACvC,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,eAAO,MAAM,YAAY,QAAQ,CAAC;AAClC,eAAO,MAAM,QAAQ,4mBAA0pB,CAAC;AAGhrB,eAAO,MAAM,eAAe,aAAa,CAAC;AAG1C,eAAO,MAAM,gBAAgB,kBAAkB,CAAC;AAChD,eAAO,MAAM,gBAAgB,oDAA0D,CAAC;AAGxF,eAAO,MAAM,WAAW,sBAAsB,CAAC;AAC/C,eAAO,MAAM,mBAAmB,kDAA+C,CAAC;AAGhF,eAAO,MAAM,gBAAgB,gCAAgC,CAAC;AAC9D,eAAO,MAAM,YAAY,kCAAkC,CAAC;AAG5D,eAAO,MAAM,UAAU,QAA+D,CAAC;AACvF,eAAO,MAAM,aAAa,QAA6D,CAAC;AACxF,eAAO,MAAM,UAAU,uLAAuL,CAAC;AAE/M,eAAO,MAAM,gBAAgB,QAA4E,CAAC"}
|
|
@@ -27,9 +27,13 @@ export interface PromptSpec {
|
|
|
27
27
|
resource?: ResourcePicker;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* Prompting is reserved for humans at a terminal: both stdin and stdout must
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* Prompting is reserved for humans at a terminal: both stdin and stdout must be
|
|
31
|
+
* TTYs. This keys off the streams alone, not the output format, so every format
|
|
32
|
+
* behaves the same — `--json`/`--csv`/`--yaml` all prompt on a terminal and all
|
|
33
|
+
* fail fast when piped. Machine-readable output stays byte-stable regardless:
|
|
34
|
+
* redirecting stdout (`> file`, `| jq`) makes it a non-TTY, which suppresses
|
|
35
|
+
* prompts, and the interactive prompt chrome renders to the TTY and is cleared
|
|
36
|
+
* before the final payload is written.
|
|
33
37
|
*/
|
|
34
38
|
export declare const isInteractive: () => boolean;
|
|
35
39
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interactive.d.ts","sourceRoot":"","sources":["../../lib/interactive.ts"],"names":[],"mappings":"AASA,+EAA+E;AAC/E,MAAM,WAAW,cAAc;IAC7B,oEAAoE;IACpE,QAAQ,EAAE,MAAM,CAAC;IACjB,+DAA+D;IAC/D,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACzB,2CAA2C;IAC3C,GAAG,EAAE,MAAM,CAAC;IACZ,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM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,CAAC;AAOF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAI3B,SAAS,OAAO,EAChB,OAAO,UAAU,EAAE,EACnB,UAAU,OAAO,KAGhB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAuB7B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAU,QAAQ,MAAM,KAAG,OAAO,CAAC,IAAI,CAcrE,CAAC"}
|
package/dist/lib/parser.d.ts
CHANGED
|
@@ -1,11 +1,32 @@
|
|
|
1
|
+
import { type Command } from "commander";
|
|
1
2
|
import { redactSecrets } from "./redact.js";
|
|
2
|
-
import type { CliConfig } from "./types.js";
|
|
3
|
+
import type { CliConfig, OutputFormat } from "./types.js";
|
|
3
4
|
declare const cliConfig: CliConfig;
|
|
4
5
|
type JsonObject = Record<string, unknown>;
|
|
5
6
|
export { redactSecrets };
|
|
6
7
|
export declare const parse: (data: unknown) => void;
|
|
7
8
|
export declare const drawTable: (data: Array<JsonObject | null | undefined>) => void;
|
|
8
9
|
export declare const drawJSON: (data: unknown) => void;
|
|
10
|
+
/**
|
|
11
|
+
* Render a response as NDJSON / JSON Lines: one compact, uncolored JSON value
|
|
12
|
+
* per line. Ideal for streaming large `list` results into `jq -c`, `xargs`, or
|
|
13
|
+
* log pipelines without materializing the whole array.
|
|
14
|
+
*/
|
|
15
|
+
export declare const drawJSONL: (data: unknown) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Render rows as RFC 4180 CSV: a header row (the union of row keys, in first-
|
|
18
|
+
* seen order) followed by one line per row. Always plain text — never colored
|
|
19
|
+
* — so the output pipes cleanly.
|
|
20
|
+
*/
|
|
21
|
+
export declare const drawCSV: (data: unknown) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Render a response as a GitHub-flavored Markdown table — handy for docs, PR
|
|
24
|
+
* comments, and issue bodies. A lone record becomes a two-column Field/Value
|
|
25
|
+
* table; arrays and list envelopes become one row per record.
|
|
26
|
+
*/
|
|
27
|
+
export declare const drawMarkdown: (data: unknown) => void;
|
|
28
|
+
/** Render a response as YAML. Always plain text — losslessly structured. */
|
|
29
|
+
export declare const drawYAML: (data: unknown) => void;
|
|
9
30
|
/**
|
|
10
31
|
* Detect "token missing / invalid / expired" failure modes and return a
|
|
11
32
|
* one-line user-facing hint. Returns null when the error doesn't look auth-
|
|
@@ -17,6 +38,9 @@ export declare const parseError: (err: Error) => void;
|
|
|
17
38
|
export declare const actionRunner: <T extends (...args: unknown[]) => Promise<unknown>>(fn: T) => ((...args: Parameters<T>) => Promise<void>);
|
|
18
39
|
export declare const parseInteger: (value: string) => number;
|
|
19
40
|
export declare const parseBool: (value: string) => boolean;
|
|
41
|
+
export declare const parseOutputFormat: (value: string) => OutputFormat;
|
|
42
|
+
/** Split a `--fields a,b,c` value into a trimmed, non-empty column list. */
|
|
43
|
+
export declare const parseFields: (value: string) => string[];
|
|
20
44
|
/**
|
|
21
45
|
* Status lines follow one gh-style system: a colored symbol, then the plain
|
|
22
46
|
* message. Message text is left uncolored for readability; chalk drops the
|
|
@@ -27,7 +51,32 @@ export declare const warn: (message?: string) => void;
|
|
|
27
51
|
export declare const hint: (message?: string) => void;
|
|
28
52
|
export declare const success: (message?: string) => void;
|
|
29
53
|
export declare const error: (message?: string) => void;
|
|
30
|
-
export declare const logo = "\n /$$$$$$$\n| $$__ $$\n| $$ \\ $$ /$$$$$$
|
|
54
|
+
export declare const logo = "\n /$$$$$$$\n| $$__ $$\n| $$ \\ $$ /$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$ /$$ /$$ /$$ /$$\n| $$$$$$$/ /$$__ $$| $$ /$$//$$__ $$| $$__ $$ /$$__ $$| $$ /$$/| $$ /$$/\n| $$__ $$| $$$$$$$$ \\ $$/$$/| $$$$$$$$| $$ \\ $$| $$$$$$$$ \\ $$$$/ \\ $$$$/\n| $$ \\ $$| $$_____/ \\ $$$/ | $$_____/| $$ | $$| $$_____/ >$$ $$ >$$ $$\n| $$ | $$| $$$$$$$ \\ $/ | $$$$$$$| $$ | $$| $$$$$$$ /$$/\\ $$ /$$/\\ $$\n|__/ |__/ \\_______/ \\_/ \\_______/|__/ |__/ \\_______/|__/ \\__/|__/ \\__/\n CLI\n\n";
|
|
55
|
+
/**
|
|
56
|
+
* Resolve the endpoint + tenant the next command will hit, using the same
|
|
57
|
+
* precedence as sdkForProject() but without constructing a client. Kept here so
|
|
58
|
+
* both the banner and any future callers share one source of truth.
|
|
59
|
+
*/
|
|
60
|
+
export declare const resolveActiveContext: () => {
|
|
61
|
+
endpoint: string;
|
|
62
|
+
tenant: string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* True when the given endpoint/tenant should trigger the prominent production
|
|
66
|
+
* warning. Sensitivity is configurable: a tenant is sensitive if it's in the
|
|
67
|
+
* persisted list (`client --sensitive-tenants`) or REVENEXX_SENSITIVE_TENANTS.
|
|
68
|
+
* Otherwise we fall back to prod heuristics — the built-in default endpoint is
|
|
69
|
+
* the live production gateway, and any endpoint/tenant containing "prod".
|
|
70
|
+
*/
|
|
71
|
+
export declare const isSensitiveContext: (endpoint: string, tenant: string) => boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Commander `preAction` hook (DX-111): surface which tenant + endpoint the
|
|
74
|
+
* command is about to hit, with a prominent red banner in production. Written
|
|
75
|
+
* to stderr so it never contaminates machine-readable stdout, and suppressed
|
|
76
|
+
* for `--json`, `--quiet`, non-TTY stderr, and the handful of context-free
|
|
77
|
+
* commands that would only be noise.
|
|
78
|
+
*/
|
|
79
|
+
export declare const renderContextBanner: (_thisCommand: Command, actionCommand: Command) => void;
|
|
31
80
|
/**
|
|
32
81
|
* Hand-written help text for the CLI's own (non-generated) commands. Service
|
|
33
82
|
* command descriptions come from the spec at generation time (see
|
package/dist/lib/parser.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../lib/parser.ts"],"names":[],"mappings":"
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sedData {
|
|
|
38
38
|
export interface CommandDescription {
|
|
39
39
|
[key: string]: string;
|
|
40
40
|
}
|
|
41
|
+
/** Machine- or human-readable renderer chosen with `-o/--output`. */
|
|
42
|
+
export type OutputFormat = "table" | "json" | "jsonl" | "csv" | "yaml" | "markdown";
|
|
43
|
+
export declare const OUTPUT_FORMATS: readonly OutputFormat[];
|
|
41
44
|
export interface CliConfig {
|
|
42
45
|
verbose: boolean;
|
|
46
|
+
/** Selected output renderer (`-o/--output`). Default `table`. */
|
|
47
|
+
output: OutputFormat;
|
|
48
|
+
/**
|
|
49
|
+
* Legacy alias kept in sync with `output === "json"`. Existing call sites
|
|
50
|
+
* (byte-stable JSON path, non-interactive gating) still read this boolean;
|
|
51
|
+
* `--json` is the documented shorthand for `--output json`.
|
|
52
|
+
*/
|
|
43
53
|
json: boolean;
|
|
54
|
+
/** Column/field projection (`--fields a,b,c`) applied before rendering. */
|
|
55
|
+
fields?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* Suppress human chrome and emit machine-readable errors to stderr with a
|
|
58
|
+
* meaningful exit code (`--quiet`), without forcing a specific stdout format.
|
|
59
|
+
*/
|
|
60
|
+
quiet: boolean;
|
|
61
|
+
/** Raw `--data` value (inline JSON, `@file`, or `-` for stdin) for bodies. */
|
|
62
|
+
data?: string;
|
|
44
63
|
force: boolean;
|
|
45
64
|
report: boolean;
|
|
46
65
|
reportData: Record<string, unknown>;
|