@calltelemetry/cli 0.15.0 → 1.0.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 +33 -0
- package/dist/commands/sftp.d.ts +3 -0
- package/dist/commands/sftp.d.ts.map +1 -0
- package/dist/commands/sftp.js +1586 -0
- package/dist/commands/sftp.js.map +1 -0
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/lib/appliance-api.d.ts +149 -0
- package/dist/lib/appliance-api.d.ts.map +1 -0
- package/dist/lib/appliance-api.js +492 -0
- package/dist/lib/appliance-api.js.map +1 -0
- package/dist/lib/openapi.d.ts +129 -0
- package/dist/lib/openapi.d.ts.map +1 -0
- package/dist/lib/openapi.js +325 -0
- package/dist/lib/openapi.js.map +1 -0
- package/dist/lib/sftp.d.ts +231 -0
- package/dist/lib/sftp.d.ts.map +1 -0
- package/dist/lib/sftp.js +439 -0
- package/dist/lib/sftp.js.map +1 -0
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.d.ts.map +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/lib/version.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -0
- package/dist/program.js.map +1 -1
- package/dist/ui/hooks/useComposeLogs.d.ts.map +1 -1
- package/dist/ui/hooks/useComposeLogs.js +18 -0
- package/dist/ui/hooks/useComposeLogs.js.map +1 -1
- package/dist/utils/prompt.d.ts +14 -0
- package/dist/utils/prompt.d.ts.map +1 -1
- package/dist/utils/prompt.js +28 -0
- package/dist/utils/prompt.js.map +1 -1
- package/dist/utils/table.d.ts +18 -0
- package/dist/utils/table.d.ts.map +1 -0
- package/dist/utils/table.js +97 -0
- package/dist/utils/table.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -270,6 +270,39 @@ ct seed status --org-id 1 # Seed counts and recent runs
|
|
|
270
270
|
ct seed cleanup --org-id 1 --all # Remove seeded data
|
|
271
271
|
```
|
|
272
272
|
|
|
273
|
+
### SFTP Tooling
|
|
274
|
+
|
|
275
|
+
Manage SFTP Action Accounts and the surrounding operational surface. Commands
|
|
276
|
+
read the OpenAPI document generated by the installed appliance release, so they
|
|
277
|
+
follow the routes that release actually exposes.
|
|
278
|
+
|
|
279
|
+
```bash
|
|
280
|
+
ct sftp status # Accounts, storage, monitoring, daemon
|
|
281
|
+
ct sftp doctor # Connectivity and compatibility checks
|
|
282
|
+
ct sftp accounts list # List accounts
|
|
283
|
+
ct sftp accounts create --username backups --description "CUCM backups" --quota-gb 25
|
|
284
|
+
ct sftp accounts update backups --disable
|
|
285
|
+
ct sftp accounts password backups --generate
|
|
286
|
+
ct sftp accounts delete backups --yes
|
|
287
|
+
ct sftp accounts export --output accounts.csv
|
|
288
|
+
ct sftp accounts import accounts.csv --validate-only
|
|
289
|
+
ct sftp monitoring enable backups --schedule daily --hour 2 --minute 5
|
|
290
|
+
ct sftp storage status
|
|
291
|
+
ct sftp activity --limit 25
|
|
292
|
+
ct sftp api --list # Every SFTP operation in this release
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
`create` generates and displays a strong password when none is supplied. Use
|
|
296
|
+
`--password-stdin` for automation. All read commands support `--json`.
|
|
297
|
+
|
|
298
|
+
Human invocations prompt for an appliance admin email and password, then use a
|
|
299
|
+
short-lived session JWT that is kept only in memory. For automation, set
|
|
300
|
+
`CT_API_TOKEN`, or `CT_API_EMAIL` + `CT_API_PASSWORD` to skip the prompts.
|
|
301
|
+
|
|
302
|
+
See [docs/sftp.md](docs/sftp.md) for account actions, monitoring, storage,
|
|
303
|
+
analytics, report schedules, authentication, and the generic OpenAPI escape
|
|
304
|
+
hatch.
|
|
305
|
+
|
|
273
306
|
## Interactive TUI
|
|
274
307
|
|
|
275
308
|
When run without arguments on a TTY, `ct` launches an interactive menu built with [Ink](https://github.com/vadimdemedes/ink). Navigate with arrow keys, select with Enter, quit with `q`.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sftp.d.ts","sourceRoot":"","sources":["../../src/commands/sftp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAmxEpC,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAgB1D"}
|