@docyrus/docyrus 0.0.3 → 0.0.5

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 CHANGED
@@ -4,6 +4,7 @@ Docyrus API CLI.
4
4
 
5
5
  CLI state files are stored under `~/.docyrus/` (`auth.json`, `config.json`).
6
6
  Tenant OpenAPI files are stored under `~/docyrus/tenans/<tenantId>/openapi.json`.
7
+ `docyrus tui` requires [Bun](https://bun.sh) installed locally.
7
8
 
8
9
  ## Installation
9
10
 
@@ -62,6 +63,7 @@ docyrus discover --help
62
63
  docyrus ds --help
63
64
  docyrus apps --help
64
65
  docyrus studio --help
66
+ docyrus tui --help
65
67
  ```
66
68
 
67
69
  ## Example Usages
@@ -115,7 +117,7 @@ Work with accounts and tenants:
115
117
  docyrus auth accounts list --json
116
118
  docyrus auth accounts use --userId "<user-id>" --json
117
119
  docyrus auth tenants list --userId "<user-id>" --json
118
- docyrus auth tenants use --tenantId "<tenant-id>" --userId "<user-id>" --json
120
+ docyrus auth tenants use "<tenant-id-uuid-or-tenant-no>" --userId "<user-id>" --json
119
121
  ```
120
122
 
121
123
  Query data source items:
@@ -170,3 +172,9 @@ docyrus studio create-enums --appId "<app-id>" --dataSourceId "<data-source-id>"
170
172
  docyrus studio update-enums --appId "<app-id>" --dataSourceId "<data-source-id>" --fieldId "<field-id>" --from-file ./enums-update.json --json
171
173
  docyrus studio delete-enums --appId "<app-id>" --dataSourceId "<data-source-id>" --fieldId "<field-id>" --data '["enum-1","enum-2"]' --json
172
174
  ```
175
+
176
+ Launch the OpenTUI terminal UI (requires Bun):
177
+
178
+ ```bash
179
+ docyrus tui
180
+ ```