Shark
A CLI to Interact with DigitalOcean.
A rewrite of shark
utilising oclif is planned.
Installation
Install Node.js and then run this command
npm install -g shark
Usage
To get started
shark
It will ask for DigitalOcean Personal Access Token for the first time and then you can perform tasks interactively.
Learn How to create a Personal Access Token.
Skip Prompts
Create
To create droplet
shark create droplet
To create snapshot
shark create snapshot
To create ssh_key
shark create ssh_key
To create floating_ip
shark create floating_ip
To create a volume
shark create volume
Domain
To create domain
shark domain create
To delete domain
shark domain delete
To list domains
shark domains list
Delete
Please make sure you know what you are doing while performing delete
operations.
To delete droplet
shark delete droplet
To delete snapshot
shark delete snapshot
To delete ssh_key
shark delete ssh_key
To delete floating_ip
shark delete floating_ip
To delete a volume
shark delete volume
To delete the token you have added
shark delete token
List
You can list all available resources under your account.
To list droplets
shark list droplets
To list droplets
shark list snapshots
To list ssh_keys
shark list ssh_keys
To list floating_ips
shark list floating_ips
To list volumes
shark list volumes
Todo
- Tests
Thanks to
- Aleafs - For generously donating npm package name
shark
. - Packages Contributors
License
MIT