Ir al contenido

sweep CLI

Esta página aún no está disponible en tu idioma.

Terminal window
npm i -g @trustysweep/cli
sweep auth login # or SWEEP_API_KEY
sweep diagnosis -c cxn_…
sweep sources list | scan <id> --mode delta --wait | quota <id> | inventory <id> --class promotional
sweep plan create --source src_… --classes promotional,large_attachment --min-confidence 0.9 [--simulate]
sweep plan show|validate|price|authorize|commit|cancel <planId> # commit --wait prints the receipt id
sweep executions list|show|receipt|verify <executionId>
sweep vault list|search "2021 W2"|get <id>|download <id> out.pdf|export --wait|manifests
sweep restore <vaultObjectId> --to dst_…
sweep migrate --from src_… --to dst_… --mode copy --classes cold
sweep usage
sweep webhooks list|create <url> --events |test <id>
sweep connect create --user user_42 --redirect https://…
sweep test-mode seed --app app_… --scenario storage_pressure

--json on any command prints raw API JSON. Credentials are stored with mode 0600 in ~/.config/trustysweep/credentials.json. The CLI never executes anything itself; it drives the same plan → authorize → commit engine.