Neptune: Planet or Myth?
Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

shark

1.6.4 • Public • Published

Shark

A CLI to Interact with DigitalOcean.

npm version XO code style npm downloads Known Vulnerabilities

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 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 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 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

92

version

1.6.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability