D_D Cloud CLI
The Cloud CLI lets you manage API keys, track service usage, and view account balances all from your terminal.
Prerequisites
- A D_D Cloud account (sign up is free!)
- The email address and password you used to sign up for D_D Cloud.
Installing the Cloud CLI
Choose your operating system and run the install command.
Note
You can find the current version of the Cloud CLI and the supported architectures on GitHub.
Linux and MacOS
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Developer-DAO/cloud-cli/releases/download/v0.1.0/dd-cloud-installer.sh | sh
Windows
powershell -ExecutionPolicy Bypass -c "irm https://github.com/Developer-DAO/cloud-cli/releases/download/v0.1.0/dd-cloud-installer.ps1 | iex"
Updating the Cloud CLI
You can update the Cloud CLI with the following command.
dd-cloud-update
Using the Cloud CLI
The Cloud CLI commands have the following structure.
dd-cloud <COMMAND> <FLAGS>
Retrieving an API key
This command copies an API endpoint URL with a specific API key into your clipboard.
dd-cloud get-api-key
Flags
--unsafe-printflushesstdoutbefore printing the API key, so you can pipe it into other commands.--helpexplains the command and its flags.
Deleting an API key
This command deletes a specific API key.
dd-cloud delete-api-key
Flags
--helpexplains the command and its flags.
Generating an API key
This command generates a new API key and will copy it into your clipboard.
dd-cloud new-api-key
Flags
--helpexplains the command and its flags.
Viewing your RPC usage
This command displays the number of calls you made.
dd-cloud track-usage
Flags
--helpexplains the command and its flags.
Viewing your account balance
This command displays the remaining funds in your account.
dd-cloud balance
Flags
--helpexplains the command and its flags.
Viewing the CLI help
This command explains available commands.
dd-cloud help