cdsctl is the CDS Command Line tool. It has the same features, and even more than the web ui. It allows you to do everything:
  • Administrate users, groups, actions, worker models, workflow templates, ...
  • Manage your projects, workflows, applications, environments, ...
  • Monitore & operate your CDS platform
  • Script everything

1 - Download cdsctl

Choose your OS

Choose your architecture

Keychain

Notice
  • Binaries available on current installation:Download

Login

Notice
  • If you use many instances of CDS, you can use the -f flag, example: `./cdsctl -f .cds/anotherInstance login --api-url http://another-instance:8081 -u aaa`
  • ByPass Keychain or file configuration: `CDS_API_URL="{{apiURL}}" CDS_USER="{{currentAuthSummary.user.username}}" CDS_TOKEN="yourtoken" cdsctl [command]`
  • Want to debug something? You can use `CDS_VERBOSE=true ./cdsctl [command]`

Play with cdsctl

Run a workflow

Check the workflow status

Git track

Imagine now that you develop something and you have a CDS Workflow triggered on each git push (Git Repository Webhook). The `git track` alias allows you to see the workflow status without opening a browser. Notice
  • By setting this new alias in your gitconfig file, you can now use: git push && git track

Update cdsctl

Scripting