@revos/cli 0.1.3 → 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.
- package/README.md +59 -0
- package/dist/adapters/oclif/commands/action-runs/get.d.mts +6 -0
- package/dist/adapters/oclif/commands/action-runs/get.mjs +8 -0
- package/dist/adapters/oclif/commands/action-runs/list.d.mts +6 -0
- package/dist/adapters/oclif/commands/action-runs/list.mjs +8 -0
- package/dist/adapters/oclif/commands/actions/get-input-schema.d.mts +6 -0
- package/dist/adapters/oclif/commands/actions/get-input-schema.mjs +23 -0
- package/dist/adapters/oclif/commands/actions/get-params-schema.d.mts +6 -0
- package/dist/adapters/oclif/commands/actions/get-params-schema.mjs +23 -0
- package/dist/adapters/oclif/commands/actions/get.d.mts +6 -0
- package/dist/adapters/oclif/commands/actions/get.mjs +8 -0
- package/dist/adapters/oclif/commands/actions/list.d.mts +6 -0
- package/dist/adapters/oclif/commands/actions/list.mjs +27 -0
- package/dist/adapters/oclif/commands/ai-instructions/create.d.mts +6 -0
- package/dist/adapters/oclif/commands/ai-instructions/create.mjs +8 -0
- package/dist/adapters/oclif/commands/ai-instructions/delete.d.mts +6 -0
- package/dist/adapters/oclif/commands/ai-instructions/delete.mjs +8 -0
- package/dist/adapters/oclif/commands/ai-instructions/get.d.mts +6 -0
- package/dist/adapters/oclif/commands/ai-instructions/get.mjs +8 -0
- package/dist/adapters/oclif/commands/ai-instructions/list.d.mts +6 -0
- package/dist/adapters/oclif/commands/ai-instructions/list.mjs +8 -0
- package/dist/adapters/oclif/commands/ai-instructions/update.d.mts +6 -0
- package/dist/adapters/oclif/commands/ai-instructions/update.mjs +8 -0
- package/dist/adapters/oclif/commands/auth/login.d.mts +2 -2
- package/dist/adapters/oclif/commands/auth/login.mjs +2 -2
- package/dist/adapters/oclif/commands/auth/logout.d.mts +1 -1
- package/dist/adapters/oclif/commands/auth/logout.mjs +2 -2
- package/dist/adapters/oclif/commands/auth/status.d.mts +2 -2
- package/dist/adapters/oclif/commands/auth/status.mjs +2 -2
- package/dist/adapters/oclif/commands/gservice-account-keys/get.d.mts +6 -0
- package/dist/adapters/oclif/commands/gservice-account-keys/get.mjs +8 -0
- package/dist/adapters/oclif/commands/gservice-account-keys/reveal.d.mts +6 -0
- package/dist/adapters/oclif/commands/gservice-account-keys/reveal.mjs +14 -0
- package/dist/adapters/oclif/commands/gservice-accounts/create.d.mts +6 -0
- package/dist/adapters/oclif/commands/gservice-accounts/create.mjs +8 -0
- package/dist/adapters/oclif/commands/gservice-accounts/delete.d.mts +6 -0
- package/dist/adapters/oclif/commands/gservice-accounts/delete.mjs +8 -0
- package/dist/adapters/oclif/commands/gservice-accounts/get.d.mts +6 -0
- package/dist/adapters/oclif/commands/gservice-accounts/get.mjs +8 -0
- package/dist/adapters/oclif/commands/gservice-accounts/list.d.mts +6 -0
- package/dist/adapters/oclif/commands/gservice-accounts/list.mjs +8 -0
- package/dist/adapters/oclif/commands/init.d.mts +1 -1
- package/dist/adapters/oclif/commands/init.mjs +2 -2
- package/dist/adapters/oclif/commands/org/create.d.mts +6 -0
- package/dist/adapters/oclif/commands/org/create.mjs +8 -0
- package/dist/adapters/oclif/commands/org/current.d.mts +2 -2
- package/dist/adapters/oclif/commands/org/current.mjs +2 -2
- package/dist/adapters/oclif/commands/org/get.d.mts +6 -0
- package/dist/adapters/oclif/commands/org/get.mjs +8 -0
- package/dist/adapters/oclif/commands/org/list.d.mts +2 -2
- package/dist/adapters/oclif/commands/org/list.mjs +2 -2
- package/dist/adapters/oclif/commands/org/switch.d.mts +1 -1
- package/dist/adapters/oclif/commands/org/switch.mjs +2 -2
- package/dist/adapters/oclif/commands/overlays/diff.d.mts +2 -2
- package/dist/adapters/oclif/commands/overlays/diff.mjs +2 -2
- package/dist/adapters/oclif/commands/overlays/pull.d.mts +2 -2
- package/dist/adapters/oclif/commands/overlays/pull.mjs +2 -2
- package/dist/adapters/oclif/commands/overlays/push.d.mts +2 -2
- package/dist/adapters/oclif/commands/overlays/push.mjs +2 -2
- package/dist/adapters/oclif/commands/overlays/status.d.mts +2 -2
- package/dist/adapters/oclif/commands/overlays/status.mjs +2 -2
- package/dist/adapters/oclif/commands/score-groups/create.d.mts +6 -0
- package/dist/adapters/oclif/commands/score-groups/create.mjs +8 -0
- package/dist/adapters/oclif/commands/score-groups/delete.d.mts +6 -0
- package/dist/adapters/oclif/commands/score-groups/delete.mjs +8 -0
- package/dist/adapters/oclif/commands/score-groups/get.d.mts +6 -0
- package/dist/adapters/oclif/commands/score-groups/get.mjs +8 -0
- package/dist/adapters/oclif/commands/score-groups/list.d.mts +6 -0
- package/dist/adapters/oclif/commands/score-groups/list.mjs +8 -0
- package/dist/adapters/oclif/commands/score-groups/update.d.mts +6 -0
- package/dist/adapters/oclif/commands/score-groups/update.mjs +8 -0
- package/dist/adapters/oclif/commands/scores/create.d.mts +6 -0
- package/dist/adapters/oclif/commands/scores/create.mjs +8 -0
- package/dist/adapters/oclif/commands/scores/delete.d.mts +6 -0
- package/dist/adapters/oclif/commands/scores/delete.mjs +8 -0
- package/dist/adapters/oclif/commands/scores/list.d.mts +6 -0
- package/dist/adapters/oclif/commands/scores/list.mjs +8 -0
- package/dist/adapters/oclif/commands/scores/update.d.mts +6 -0
- package/dist/adapters/oclif/commands/scores/update.mjs +8 -0
- package/dist/adapters/oclif/commands/segments/create.d.mts +6 -0
- package/dist/adapters/oclif/commands/segments/create.mjs +8 -0
- package/dist/adapters/oclif/commands/segments/delete.d.mts +6 -0
- package/dist/adapters/oclif/commands/segments/delete.mjs +8 -0
- package/dist/adapters/oclif/commands/segments/evaluate.d.mts +6 -0
- package/dist/adapters/oclif/commands/segments/evaluate.mjs +14 -0
- package/dist/adapters/oclif/commands/segments/get-evaluation-history.d.mts +6 -0
- package/dist/adapters/oclif/commands/segments/get-evaluation-history.mjs +14 -0
- package/dist/adapters/oclif/commands/segments/get-version.d.mts +6 -0
- package/dist/adapters/oclif/commands/segments/get-version.mjs +23 -0
- package/dist/adapters/oclif/commands/segments/get.d.mts +6 -0
- package/dist/adapters/oclif/commands/segments/get.mjs +8 -0
- package/dist/adapters/oclif/commands/segments/list-versions.d.mts +6 -0
- package/dist/adapters/oclif/commands/segments/list-versions.mjs +29 -0
- package/dist/adapters/oclif/commands/segments/list.d.mts +6 -0
- package/dist/adapters/oclif/commands/segments/list.mjs +8 -0
- package/dist/adapters/oclif/commands/segments/restore-version.d.mts +6 -0
- package/dist/adapters/oclif/commands/segments/restore-version.mjs +23 -0
- package/dist/adapters/oclif/commands/segments/update.d.mts +6 -0
- package/dist/adapters/oclif/commands/segments/update.mjs +8 -0
- package/dist/adapters/oclif/commands/table-views/create.d.mts +6 -0
- package/dist/adapters/oclif/commands/table-views/create.mjs +8 -0
- package/dist/adapters/oclif/commands/table-views/delete.d.mts +6 -0
- package/dist/adapters/oclif/commands/table-views/delete.mjs +8 -0
- package/dist/adapters/oclif/commands/table-views/list.d.mts +6 -0
- package/dist/adapters/oclif/commands/table-views/list.mjs +8 -0
- package/dist/adapters/oclif/commands/table-views/update.d.mts +6 -0
- package/dist/adapters/oclif/commands/table-views/update.mjs +8 -0
- package/dist/adapters/oclif/commands/tables/create.d.mts +6 -0
- package/dist/adapters/oclif/commands/tables/create.mjs +8 -0
- package/dist/adapters/oclif/commands/tables/delete.d.mts +6 -0
- package/dist/adapters/oclif/commands/tables/delete.mjs +8 -0
- package/dist/adapters/oclif/commands/tables/get.d.mts +6 -0
- package/dist/adapters/oclif/commands/tables/get.mjs +8 -0
- package/dist/adapters/oclif/commands/tables/list.d.mts +6 -0
- package/dist/adapters/oclif/commands/tables/list.mjs +8 -0
- package/dist/adapters/oclif/commands/tables/update.d.mts +6 -0
- package/dist/adapters/oclif/commands/tables/update.mjs +8 -0
- package/dist/{base.command-CaFn9EwG.mjs → base.command-DlVQ9Cqa.mjs} +1 -1
- package/dist/{core-BSLZ9hQU.mjs → core-gKJ_V-K5.mjs} +1 -1
- package/dist/factory-D9sR_S_g.mjs +90 -0
- package/dist/{index-B8n2GxTc.d.mts → index-KAzwt5vr.d.mts} +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +1 -1
- package/dist/presets-Cvazkjmu.mjs +98 -0
- package/dist/templates/dbt/profiles.yml +12 -0
- package/dist/templates/gitignore +19 -0
- package/package.json +2 -2
- /package/dist/{base.command-BjFWMIzL.d.mts → base.command-d7VW6WTp.d.mts} +0 -0
- /package/dist/{types-DmuJzN0Z.d.mts → types-C_p_6rkj.d.mts} +0 -0
- /package/dist/{types-DsQtGF-c.d.mts → types-Y_ht_ja5.d.mts} +0 -0
package/README.md
CHANGED
|
@@ -169,6 +169,65 @@ revos overlays status [files...] [-d <dir>] [--columns name,status] [--json]
|
|
|
169
169
|
|
|
170
170
|
---
|
|
171
171
|
|
|
172
|
+
### Resource commands
|
|
173
|
+
|
|
174
|
+
The CLI exposes every method of `@revos/api-client` as a topic-prefixed command. Each topic mirrors a resource on the SDK and supports the standard CRUD verbs (`list`, `get`, `create`, `update`, `delete`) plus any resource-specific extras.
|
|
175
|
+
|
|
176
|
+
#### Topics
|
|
177
|
+
|
|
178
|
+
| Topic | Verbs |
|
|
179
|
+
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
|
|
180
|
+
| `tables` | `list`, `get`, `create`, `update`, `delete` |
|
|
181
|
+
| `table-views` | `list`, `create`, `update`, `delete` |
|
|
182
|
+
| `scores` | `list`, `create`, `update`, `delete` |
|
|
183
|
+
| `score-groups` | `list`, `get`, `create`, `update`, `delete` |
|
|
184
|
+
| `gservice-accounts` | `list`, `get`, `create`, `delete` |
|
|
185
|
+
| `gservice-account-keys` | `get`, `reveal` |
|
|
186
|
+
| `actions` | `list`, `get`, `get-params-schema`, `get-input-schema` |
|
|
187
|
+
| `action-runs` | `list`, `get` |
|
|
188
|
+
| `ai-instructions` | `list`, `get`, `create`, `update`, `delete` |
|
|
189
|
+
| `org` | `list`, `current`, `switch`, `get`, `create` |
|
|
190
|
+
| `segments` | `list`, `get`, `create`, `update`, `delete`, `list-versions`, `get-version`, `restore-version`, `get-evaluation-history`, `evaluate` |
|
|
191
|
+
|
|
192
|
+
#### List flags
|
|
193
|
+
|
|
194
|
+
`list` commands accept `--page-size`, `--page-token`, `--order-by`, `--filter`, and `--fields`. `actions list` adds `--only-used`.
|
|
195
|
+
|
|
196
|
+
```bash
|
|
197
|
+
revos tables list --page-size 50 --order-by 'createdAt desc'
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
#### Request bodies (`--body`)
|
|
201
|
+
|
|
202
|
+
`create` and `update` take a single `--body` flag. Three forms:
|
|
203
|
+
|
|
204
|
+
```bash
|
|
205
|
+
# Inline JSON literal
|
|
206
|
+
revos tables create --body '{"name":"customers","sql_table":"customers"}'
|
|
207
|
+
|
|
208
|
+
# Read from file
|
|
209
|
+
revos tables create --body @./table.json
|
|
210
|
+
|
|
211
|
+
# Read from stdin
|
|
212
|
+
cat table.json | revos tables create --body -
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
Bad JSON is rejected before any HTTP call.
|
|
216
|
+
|
|
217
|
+
#### Examples
|
|
218
|
+
|
|
219
|
+
```bash
|
|
220
|
+
revos tables list --json
|
|
221
|
+
revos tables get tbl_123
|
|
222
|
+
revos segments evaluate seg_456
|
|
223
|
+
revos segments list-versions seg_456
|
|
224
|
+
revos segments get-version seg_456 3
|
|
225
|
+
revos actions get-params-schema act_789
|
|
226
|
+
revos gservice-account-keys reveal key_abc
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
172
231
|
## Output Formats
|
|
173
232
|
|
|
174
233
|
Every command supports `--json` for machine-readable output:
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { r as getCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/action-runs/get.ts
|
|
3
|
+
var get_default = getCommand({
|
|
4
|
+
resource: "actionRuns",
|
|
5
|
+
description: "Get an action run by ID"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { get_default as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { i as listCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/action-runs/list.ts
|
|
3
|
+
var list_default = listCommand({
|
|
4
|
+
resource: "actionRuns",
|
|
5
|
+
description: "List action runs"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { list_default as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { m as unwrap } from "../../../../core-gKJ_V-K5.mjs";
|
|
2
|
+
import { n as defineApiCommand } from "../../../../factory-D9sR_S_g.mjs";
|
|
3
|
+
import { Args, Flags } from "@oclif/core";
|
|
4
|
+
//#region src/adapters/oclif/commands/actions/get-input-schema.ts
|
|
5
|
+
var get_input_schema_default = defineApiCommand({
|
|
6
|
+
description: "Get the input schema for an action",
|
|
7
|
+
args: { id: Args.string({
|
|
8
|
+
description: "Action ID",
|
|
9
|
+
required: true
|
|
10
|
+
}) },
|
|
11
|
+
flags: {
|
|
12
|
+
params: Flags.string({ description: "Action params JSON (for parameterized actions)" }),
|
|
13
|
+
"ignore-cache": Flags.string({ description: "If 'true', bypass the cached schema" })
|
|
14
|
+
},
|
|
15
|
+
call: async ({ api, args, flags }) => {
|
|
16
|
+
const params = { id: args.id };
|
|
17
|
+
if (flags.params !== void 0) params.params = flags.params;
|
|
18
|
+
if (flags["ignore-cache"] !== void 0) params.ignoreCache = flags["ignore-cache"];
|
|
19
|
+
return unwrap(await api.actions.getInputSchema(params));
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { get_input_schema_default as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { m as unwrap } from "../../../../core-gKJ_V-K5.mjs";
|
|
2
|
+
import { n as defineApiCommand } from "../../../../factory-D9sR_S_g.mjs";
|
|
3
|
+
import { Args, Flags } from "@oclif/core";
|
|
4
|
+
//#region src/adapters/oclif/commands/actions/get-params-schema.ts
|
|
5
|
+
var get_params_schema_default = defineApiCommand({
|
|
6
|
+
description: "Get the parameters schema for an action",
|
|
7
|
+
args: { id: Args.string({
|
|
8
|
+
description: "Action ID",
|
|
9
|
+
required: true
|
|
10
|
+
}) },
|
|
11
|
+
flags: {
|
|
12
|
+
"current-params": Flags.string({ description: "Current params JSON (used to resolve conditional fields)" }),
|
|
13
|
+
"ignore-cache": Flags.string({ description: "If 'true', bypass the cached schema" })
|
|
14
|
+
},
|
|
15
|
+
call: async ({ api, args, flags }) => {
|
|
16
|
+
const params = { id: args.id };
|
|
17
|
+
if (flags["current-params"] !== void 0) params.currentParams = flags["current-params"];
|
|
18
|
+
if (flags["ignore-cache"] !== void 0) params.ignoreCache = flags["ignore-cache"];
|
|
19
|
+
return unwrap(await api.actions.getParamsSchema(params));
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { get_params_schema_default as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { r as getCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/actions/get.ts
|
|
3
|
+
var get_default = getCommand({
|
|
4
|
+
resource: "actions",
|
|
5
|
+
description: "Get an action by ID"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { get_default as default };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { m as unwrap } from "../../../../core-gKJ_V-K5.mjs";
|
|
2
|
+
import { n as defineApiCommand } from "../../../../factory-D9sR_S_g.mjs";
|
|
3
|
+
import { Flags } from "@oclif/core";
|
|
4
|
+
//#region src/adapters/oclif/commands/actions/list.ts
|
|
5
|
+
var list_default = defineApiCommand({
|
|
6
|
+
description: "List available actions",
|
|
7
|
+
flags: {
|
|
8
|
+
"page-size": Flags.integer({ description: "Maximum number of items to return" }),
|
|
9
|
+
"page-token": Flags.string({ description: "Token for the next page" }),
|
|
10
|
+
"order-by": Flags.string({ description: "Field to order results by" }),
|
|
11
|
+
filter: Flags.string({ description: "Filter expression" }),
|
|
12
|
+
fields: Flags.string({ description: "Comma-separated fields to include" }),
|
|
13
|
+
"only-used": Flags.string({ description: "If set, only returns actions used by the organization" })
|
|
14
|
+
},
|
|
15
|
+
call: async ({ api, flags }) => {
|
|
16
|
+
const params = {};
|
|
17
|
+
if (flags["page-size"] !== void 0) params.pageSize = flags["page-size"];
|
|
18
|
+
if (flags["page-token"] !== void 0) params.pageToken = flags["page-token"];
|
|
19
|
+
if (flags["order-by"] !== void 0) params.orderBy = flags["order-by"];
|
|
20
|
+
if (flags.filter !== void 0) params.filter = flags.filter;
|
|
21
|
+
if (flags.fields !== void 0) params.fields = flags.fields;
|
|
22
|
+
if (flags["only-used"] !== void 0) params.onlyUsed = flags["only-used"];
|
|
23
|
+
return unwrap(await api.actions.list(params));
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { list_default as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { t as createCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/ai-instructions/create.ts
|
|
3
|
+
var create_default = createCommand({
|
|
4
|
+
resource: "aiInstructions",
|
|
5
|
+
description: "Create a new AI instruction"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { create_default as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { n as deleteCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/ai-instructions/delete.ts
|
|
3
|
+
var delete_default = deleteCommand({
|
|
4
|
+
resource: "aiInstructions",
|
|
5
|
+
description: "Delete an AI instruction"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { delete_default as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { r as getCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/ai-instructions/get.ts
|
|
3
|
+
var get_default = getCommand({
|
|
4
|
+
resource: "aiInstructions",
|
|
5
|
+
description: "Get an AI instruction by ID"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { get_default as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { i as listCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/ai-instructions/list.ts
|
|
3
|
+
var list_default = listCommand({
|
|
4
|
+
resource: "aiInstructions",
|
|
5
|
+
description: "List AI instructions"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { list_default as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { a as updateCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/ai-instructions/update.ts
|
|
3
|
+
var update_default = updateCommand({
|
|
4
|
+
resource: "aiInstructions",
|
|
5
|
+
description: "Update an AI instruction"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { update_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as AuthResult } from "../../../../types-
|
|
2
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { t as AuthResult } from "../../../../types-Y_ht_ja5.mjs";
|
|
2
|
+
import { t as BaseCommand } from "../../../../base.command-d7VW6WTp.mjs";
|
|
3
3
|
import * as _$_oclif_core_interfaces0 from "@oclif/core/interfaces";
|
|
4
4
|
|
|
5
5
|
//#region src/adapters/oclif/commands/auth/login.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as getCredentialsPath, C as getUserInfo, D as tokenResponseToCredentials, N as saveCredentials, O as startOAuthServer, S as generatePKCEChallenge, T as setClerkConfig, b as buildAuthorizationUrl, m as unwrap, n as selectOrganization, p as createApiClient, x as exchangeCodeForTokens } from "../../../../core-
|
|
2
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { A as getCredentialsPath, C as getUserInfo, D as tokenResponseToCredentials, N as saveCredentials, O as startOAuthServer, S as generatePKCEChallenge, T as setClerkConfig, b as buildAuthorizationUrl, m as unwrap, n as selectOrganization, p as createApiClient, x as exchangeCodeForTokens } from "../../../../core-gKJ_V-K5.mjs";
|
|
2
|
+
import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
|
|
3
3
|
import chalk from "chalk";
|
|
4
4
|
import { Flags } from "@oclif/core";
|
|
5
5
|
import open from "open";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { t as BaseCommand } from "../../../../base.command-d7VW6WTp.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/adapters/oclif/commands/auth/logout.d.ts
|
|
4
4
|
declare class AuthLogout extends BaseCommand<typeof AuthLogout> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as deleteCredentials } from "../../../../core-
|
|
2
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { k as deleteCredentials } from "../../../../core-gKJ_V-K5.mjs";
|
|
2
|
+
import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
|
|
3
3
|
//#region src/adapters/oclif/commands/auth/logout.ts
|
|
4
4
|
var AuthLogout = class extends BaseCommand {
|
|
5
5
|
static description = "Remove stored authentication credentials";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as AuthStatusInfo } from "../../../../types-
|
|
2
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { n as AuthStatusInfo } from "../../../../types-Y_ht_ja5.mjs";
|
|
2
|
+
import { t as BaseCommand } from "../../../../base.command-d7VW6WTp.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/adapters/oclif/commands/auth/status.d.ts
|
|
5
5
|
declare class AuthStatus extends BaseCommand<typeof AuthStatus> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as getCredentialsPath, M as loadCredentials, j as isTokenExpired } from "../../../../core-
|
|
2
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { A as getCredentialsPath, M as loadCredentials, j as isTokenExpired } from "../../../../core-gKJ_V-K5.mjs";
|
|
2
|
+
import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
|
|
3
3
|
import chalk from "chalk";
|
|
4
4
|
//#region src/adapters/oclif/commands/auth/status.ts
|
|
5
5
|
var AuthStatus = class extends BaseCommand {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { r as getCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/gservice-account-keys/get.ts
|
|
3
|
+
var get_default = getCommand({
|
|
4
|
+
resource: "gserviceAccountKeys",
|
|
5
|
+
description: "Get a Google service account key by ID"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { get_default as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { m as unwrap } from "../../../../core-gKJ_V-K5.mjs";
|
|
2
|
+
import { n as defineApiCommand } from "../../../../factory-D9sR_S_g.mjs";
|
|
3
|
+
import { Args } from "@oclif/core";
|
|
4
|
+
//#region src/adapters/oclif/commands/gservice-account-keys/reveal.ts
|
|
5
|
+
var reveal_default = defineApiCommand({
|
|
6
|
+
description: "Reveal a Google service account key",
|
|
7
|
+
args: { id: Args.string({
|
|
8
|
+
description: "Key ID",
|
|
9
|
+
required: true
|
|
10
|
+
}) },
|
|
11
|
+
call: async ({ api, args }) => unwrap(await api.gserviceAccountKeys.reveal({ id: args.id }))
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { reveal_default as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { t as createCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/gservice-accounts/create.ts
|
|
3
|
+
var create_default = createCommand({
|
|
4
|
+
resource: "gserviceAccounts",
|
|
5
|
+
description: "Create a Google service account"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { create_default as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { n as deleteCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/gservice-accounts/delete.ts
|
|
3
|
+
var delete_default = deleteCommand({
|
|
4
|
+
resource: "gserviceAccounts",
|
|
5
|
+
description: "Delete a Google service account"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { delete_default as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { r as getCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/gservice-accounts/get.ts
|
|
3
|
+
var get_default = getCommand({
|
|
4
|
+
resource: "gserviceAccounts",
|
|
5
|
+
description: "Get a Google service account by ID"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { get_default as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { i as listCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/gservice-accounts/list.ts
|
|
3
|
+
var list_default = listCommand({
|
|
4
|
+
resource: "gserviceAccounts",
|
|
5
|
+
description: "List Google service accounts"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { list_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ApiError, t as InitService, y as getConfig } from "../../../core-
|
|
1
|
+
import { P as ApiError, t as InitService, y as getConfig } from "../../../core-gKJ_V-K5.mjs";
|
|
2
2
|
import { TEMPLATES_DIR } from "../../../templates/index.mjs";
|
|
3
|
-
import { t as BaseCommand } from "../../../base.command-
|
|
3
|
+
import { t as BaseCommand } from "../../../base.command-DlVQ9Cqa.mjs";
|
|
4
4
|
import * as fs from "fs";
|
|
5
5
|
import * as path from "path";
|
|
6
6
|
import select from "@inquirer/select";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { t as createCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/org/create.ts
|
|
3
|
+
var create_default = createCommand({
|
|
4
|
+
resource: "organizations",
|
|
5
|
+
description: "Create a new organization"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { create_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as OrganizationInfo } from "../../../../types-
|
|
2
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { s as OrganizationInfo } from "../../../../types-Y_ht_ja5.mjs";
|
|
2
|
+
import { t as BaseCommand } from "../../../../base.command-d7VW6WTp.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/adapters/oclif/commands/org/current.d.ts
|
|
5
5
|
interface CurrentOrgResult {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as loadCredentials, m as unwrap, p as createApiClient, y as getConfig } from "../../../../core-
|
|
2
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { M as loadCredentials, m as unwrap, p as createApiClient, y as getConfig } from "../../../../core-gKJ_V-K5.mjs";
|
|
2
|
+
import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
|
|
3
3
|
//#region src/adapters/oclif/commands/org/current.ts
|
|
4
4
|
var OrgCurrent = class extends BaseCommand {
|
|
5
5
|
static description = "Show currently selected organization";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { r as getCommand } from "../../../../presets-Cvazkjmu.mjs";
|
|
2
|
+
//#region src/adapters/oclif/commands/org/get.ts
|
|
3
|
+
var get_default = getCommand({
|
|
4
|
+
resource: "organizations",
|
|
5
|
+
description: "Get an organization by ID"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { get_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as OrgListResult } from "../../../../types-
|
|
2
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { a as OrgListResult } from "../../../../types-Y_ht_ja5.mjs";
|
|
2
|
+
import { t as BaseCommand } from "../../../../base.command-d7VW6WTp.mjs";
|
|
3
3
|
import * as _$_oclif_core_interfaces0 from "@oclif/core/interfaces";
|
|
4
4
|
|
|
5
5
|
//#region src/adapters/oclif/commands/org/list.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as unwrap, p as createApiClient, y as getConfig } from "../../../../core-
|
|
2
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { m as unwrap, p as createApiClient, y as getConfig } from "../../../../core-gKJ_V-K5.mjs";
|
|
2
|
+
import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
|
|
3
3
|
import chalk from "chalk";
|
|
4
4
|
import { Flags } from "@oclif/core";
|
|
5
5
|
//#region src/adapters/oclif/commands/org/list.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { t as BaseCommand } from "../../../../base.command-d7VW6WTp.mjs";
|
|
2
2
|
import * as _$_oclif_core_interfaces0 from "@oclif/core/interfaces";
|
|
3
3
|
|
|
4
4
|
//#region src/adapters/oclif/commands/org/switch.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as loadCredentials, N as saveCredentials, m as unwrap, n as selectOrganization, p as createApiClient, y as getConfig } from "../../../../core-
|
|
2
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { M as loadCredentials, N as saveCredentials, m as unwrap, n as selectOrganization, p as createApiClient, y as getConfig } from "../../../../core-gKJ_V-K5.mjs";
|
|
2
|
+
import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
|
|
3
3
|
import chalk from "chalk";
|
|
4
4
|
import { Args } from "@oclif/core";
|
|
5
5
|
//#region src/adapters/oclif/commands/org/switch.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as DiffResult } from "../../../../types-
|
|
2
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { o as DiffResult } from "../../../../types-C_p_6rkj.mjs";
|
|
2
|
+
import { t as BaseCommand } from "../../../../base.command-d7VW6WTp.mjs";
|
|
3
3
|
import * as _$_oclif_core_interfaces0 from "@oclif/core/interfaces";
|
|
4
4
|
|
|
5
5
|
//#region src/adapters/oclif/commands/overlays/diff.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as createApiClient, r as DiffService, y as getConfig } from "../../../../core-
|
|
2
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { p as createApiClient, r as DiffService, y as getConfig } from "../../../../core-gKJ_V-K5.mjs";
|
|
2
|
+
import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
|
|
3
3
|
import chalk from "chalk";
|
|
4
4
|
import { Args, Flags } from "@oclif/core";
|
|
5
5
|
//#region src/adapters/oclif/commands/overlays/diff.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as PullResult } from "../../../../types-
|
|
2
|
-
import { t as BaseCommand } from "../../../../base.command-
|
|
1
|
+
import { u as PullResult } from "../../../../types-C_p_6rkj.mjs";
|
|
2
|
+
import { t as BaseCommand } from "../../../../base.command-d7VW6WTp.mjs";
|
|
3
3
|
import * as _$_oclif_core_interfaces0 from "@oclif/core/interfaces";
|
|
4
4
|
|
|
5
5
|
//#region src/adapters/oclif/commands/overlays/pull.d.ts
|