@datarails-ai/dr-cli 1.6.73 → 1.6.75
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 +12 -11
- package/dist/cli.js +930 -313
- package/dist/scopes-map.json +25 -1
- package/dist/skills/dr-cli/SKILL.md +6 -5
- package/dist/skills/dr-cli/reference/datamappers.md +6 -0
- package/dist/skills/dr-cli/reference/multi-product.md +1 -1
- package/dist/skills/dr-cli/reference/safety.md +3 -2
- package/dist/skills/dr-cli/reference/templates.md +1 -1
- package/dist/skills/dr-error-enrichment/SKILL.md +1 -1
- package/dist/skills/dr-error-enrichment/reference/groundcover.md +3 -2
- package/dist/skills/dr-error-enrichment/reference/safety-backup.md +2 -2
- package/dist/skills/dr-error-enrichment-improve/SKILL.md +1 -1
- package/dist/skills/dr-filebox-api-setup/SKILL.md +3 -3
- package/dist/skills/dr-switch-user/SKILL.md +3 -3
- package/dist/skills/fx-conversion-matrix/SKILL.md +1 -1
- package/dist/skills/mec-table-validation/SKILL.md +2 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# dr-cli
|
|
2
2
|
|
|
3
|
-
Datarails CLI. Server keys: `US`, `US2`, `UK`, `CA`, `EU`, `
|
|
4
|
-
`TEST` — or pass a full `https://<host>.datarails.com` URL to reach an
|
|
3
|
+
Datarails CLI. Server keys: `US`, `US2`, `UK`, `CA`, `EU`, `STUDIO`, `DEV`,
|
|
4
|
+
`DEV-1`, `TEST` — or pass a full `https://<host>.datarails.com` URL to reach an
|
|
5
5
|
ad-hoc (e.g. PR-preview) environment. Credentials live in the OS keychain (Windows Credential Manager,
|
|
6
6
|
macOS Keychain), or in a credential file when one is present — which wins over
|
|
7
7
|
the keychain, and is how `dr` runs where no keychain exists (CI, headless hosts,
|
|
@@ -384,6 +384,7 @@ dr skill print <name> # print an embedded skill's SKILL.md
|
|
|
384
384
|
| Lookups (LUTs) | `lut list/create/update/delete/reorder/unmapped` (alias `lookups`) |
|
|
385
385
|
| Documents | `documents support-api set <id> --on/--off`, `documents calculate <id> --year/--quarter/--month/--day/--week ... [--backward] [--no-roll]` |
|
|
386
386
|
| Semantic tables | `semantic-tables list/get` |
|
|
387
|
+
| OData (V1) | `odata tables`, `odata metadata <table-id>`, `odata data <table-id> [--variant latest\|full\|cleared\|full-cleared] [--top N \| --all] [--csv\|--json]` — reads a table exactly as Excel / Power BI / SQLConnector receive it |
|
|
387
388
|
| Storyboards | `storyboards list/get/slides/prepare/delete` |
|
|
388
389
|
| ExTables | `extables list/get/clone/delete` |
|
|
389
390
|
| Reports (Financials) | `reports list/get/clone/delete` |
|
|
@@ -499,15 +500,15 @@ to you.
|
|
|
499
500
|
|
|
500
501
|
The services `dr-cli` talks to:
|
|
501
502
|
|
|
502
|
-
| Service | What it serves
|
|
503
|
-
| -------------------------- |
|
|
504
|
-
| **Monolith** (the big one) | Most endpoints — tables, dashboards, functions, ranges, datamappers, LUTs, documents, storyboards, extables, reports, dataflow, scans, fileboxes, integrations, forecast, collection-processes, workflows/MEC, `cash`, users/orgs/support-manager/devices, features, `login`/`login-as`/`whoami` | [`dr-datarails-server`](https://github.com/Datarails/dr-datarails-server) |
|
|
505
|
-
| FinanceOS gateway | Paths under `/finance-os/api/…` — `templates sample`/`distinct`/`aggregate`, `semantic-tables`, `metrics`, `fx`
|
|
506
|
-
| Spend Control | `dr spend-control …` (`/api/spend-control/v1`) — a separate microservice reached through the monolith host
|
|
507
|
-
| Multi-Product | `dr multi-product …` (`/api/multi-product/v1`) — separate microservice, monolith host
|
|
508
|
-
| Desk | `dr desk …` (`/api/desk/v1/…`) — separate microservice, monolith host. One exception: `desk support-email set` writes to the MONOLITH's `/bo/teams/<id>/`, because that is where `support_email` lives
|
|
509
|
-
| Connectors control-plane | `dr connectors …` (reached over the corporate VPN)
|
|
510
|
-
| Onboarding-validation | `dr validate onboarding …` (its own host, `<env>-onboarding.datarails.com`)
|
|
503
|
+
| Service | What it serves | Repo |
|
|
504
|
+
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
|
505
|
+
| **Monolith** (the big one) | Most endpoints — tables, dashboards, functions, ranges, datamappers, LUTs, documents, storyboards, extables, reports, dataflow, OData (`odata`), scans, fileboxes, integrations, forecast, collection-processes, workflows/MEC, `cash`, users/orgs/support-manager/devices, features, `login`/`login-as`/`whoami` | [`dr-datarails-server`](https://github.com/Datarails/dr-datarails-server) |
|
|
506
|
+
| FinanceOS gateway | Paths under `/finance-os/api/…` — `templates sample`/`distinct`/`aggregate`, `semantic-tables`, `metrics`, `fx` | [`dr-finance-os`](https://github.com/Datarails/dr-finance-os) |
|
|
507
|
+
| Spend Control | `dr spend-control …` (`/api/spend-control/v1`) — a separate microservice reached through the monolith host | [`dr-spend-control`](https://github.com/Datarails/dr-spend-control) |
|
|
508
|
+
| Multi-Product | `dr multi-product …` (`/api/multi-product/v1`) — separate microservice, monolith host | [`dr-multi-product`](https://github.com/Datarails/dr-multi-product) |
|
|
509
|
+
| Desk | `dr desk …` (`/api/desk/v1/…`) — separate microservice, monolith host. One exception: `desk support-email set` writes to the MONOLITH's `/bo/teams/<id>/`, because that is where `support_email` lives | [`dr-desk-ai`](https://github.com/Datarails/dr-desk-ai) |
|
|
510
|
+
| Connectors control-plane | `dr connectors …` (reached over the corporate VPN) | [`dr-connectors-control-plane`](https://github.com/Datarails/dr-connectors-control-plane) |
|
|
511
|
+
| Onboarding-validation | `dr validate onboarding …` (its own host, `<env>-onboarding.datarails.com`) | [`dr-onboarding-validation-re`](https://github.com/Datarails/dr-onboarding-validation-re) |
|
|
511
512
|
|
|
512
513
|
> Not sure which service a command hits? Run it with `--json` and check the
|
|
513
514
|
> error, or read the header comment of the matching `src/api/<area>.ts` module
|