api¶
Help command
> csm-data api --help
Usage: csm-data api [OPTIONS] COMMAND [ARGS]...
Cosmo Tech API helper command
This command will inform you of which connection is available to use for the
Cosmo Tech API
If no connection is available, will list all possible set of parameters and
return an error code,
You can use this command in a csm-orc template to make sure that API
connection is available.
╭─ OPTIONS ────────────────────────────────────────────────────────────────────╮
│ --web-help Open the web documentation │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ postgres-send-runner-metadata Send runner metadata to a PostgreSQL │
│ database. │
│ run-load-data Download a runner data from the Cosmo Tech │
│ API Requires a valid Azure connection either │
│ with: │
│ │
│ • The AZ cli command: az login │
│ • A triplet of env var AZURE_TENANT_ID, │
│ AZURE_CLIENT_ID, AZURE_CLIENT_SECRET │
│ wsf-load-file Download files from a workspace. │
│ wsf-send-file Upload a file to a workspace. │
╰──────────────────────────────────────────────────────────────────────────────╯