Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

shark

1.6.2 • Public • Published

Shark

A CLI to Interact with DigitalOcean.

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 domain

shark create domain

To create ssh_key

shark create ssh_key

To create floating_ip

shark create floating_ip

To create a volume

shark create volume

Delete

Please make sure you know what you are doing while performing delete operations.

To delete droplet

shark delete droplet

To delete domain

shark delete domain

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 domains

shark list domains

To list droplets

shark list droplets

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

License

MIT

install

npm i shark

Downloadsweekly downloads

8

version

1.6.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability