doctl

command module
v0.0.0-...-9cbda4f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2015 License: Apache-2.0 Imports: 20 Imported by: 0

README

Digital Ocean Control TooL

Build Status

doctl is a tool for controlling your DigitalOcean resources from the command line. You can find your personal access tokens on the control panel or generate a new one.

Installation

Download pre-built binaries from this repository, or clone and build yourself:

$ git clone
$ go get
$ make all # Note that this compiles binaries for several architectures, make sure your go is pre-compiled with support, on homebrew: `brew install go --with-cc-common`

Or using go get:

$ go get github.com/digitalocean/doctl

Usage

More details:

NAME:
   doctl - Digital Ocean Control TooL.

USAGE:
   doctl [global options] command [command options] [arguments...]

VERSION:
   0.0.9

COMMANDS:
   action   Action commands.
   domain   Domain commands.
   droplet, d  Droplet commands. Lists by default.
   region   Region commands.
   size     Size commands.
   sshkey   SSH Key commands.
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --api-key, -k  API Key for DO APIv2. [$DIGITALOCEAN_API_KEY, $DIGITAL_OCEAN_API_KEY]
   --format, -f 'yaml'  Format for output.
   --help, -h       show help
   --version, -v    print the version

Don't forget the shortcuts! Try doctl d l.

Actions
NAME:
   doctl action - Action commands.

USAGE:
   doctl action [global options] command [command options] [arguments...]

VERSION:
   0.0.11

COMMANDS:
   show     Show an action.
   list     List all actions.
   help, h  Shows a list of commands or help for one command

Domains
NAME:
   doctl domain - Domain commands.

USAGE:
   doctl domain [global options] command [command options] [arguments...]

VERSION:
   0.0.15

COMMANDS:
   show, s        <name> Show an domain.
   list, l        List all domains.
   create, c         <domain> <Droplet name> Create new domain.
   destroy, d        <name> Destroy a domain.
   list-records, records, r   <domain> List domain records for a domain.
   show-record, record     <domain> <id> Show a domain record.
   add, create-record      <domain> Create domain record.
   destroy-record    <domain> <id> Destroy domain record.

Droplets
NAME:
   doctl droplet - Droplet commands. Lists by default.

USAGE:
   doctl droplet [global options] command [command options] [arguments...]

VERSION:
   0.0.15

COMMANDS:
   create, c   (--domain | --add-region) --user-data --ssh-keys --size "512mb" --region "nyc3" --image "ubuntu-14-04-x64" --backups --ipv6 --private-networking Create Droplet
   list, l     List droplets.
   find, f     <Droplet name> Find the first Droplet whose name matches the first argument.
   destroy, d     [--id | <name>] Destroy droplet.
   reboot      [--id | <name>] Reboot droplet.
   power_cycle    [--id | <name>] Powercycle droplet.
   shutdown    [--id | <name>] Shutdown droplet.
   poweroff, off  [--id | <name>] Power off droplet.
   poweron, on    [--id | <name>] Power on droplet.
   password_reset [--id | <name>] Reset password for droplet.
   resize      [--id | <name>] Resize droplet.
Regions
NAME:
   doctl region - Region commands.

USAGE:
   doctl region [global options] command [command options] [arguments...]

VERSION:
   0.0.11

COMMANDS:
   list     List All Regions.
Sizes
NAME:
   doctl size - Size commands.

USAGE:
   doctl size [global options] command [command options] [arguments...]

VERSION:
   0.0.11

COMMANDS:
   list     List all sizes.
SSH Keys
NAME:
   doctl sshkey - SSH Key commands.

USAGE:
   doctl sshkey [global options] command [command options] [arguments...]

VERSION:
   0.0.11

COMMANDS:
   create   Create SSH key.
   list     List all SSH keys.
   show     Show SSH key.
   destroy  Destroy SSH key.

Licensing

doctl is licensed under the Apache License, Version 2.0. See LICENSE.txt for full license text.

Author

Phillip Baker phillip@digitalocean.com Steve Rude steve@slantview.com

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/codegangsta/cli
Package cli provides a minimal framework for creating and organizing command line Go applications.
Package cli provides a minimal framework for creating and organizing command line Go applications.
_workspace/src/github.com/digitalocean/godo
Package godo is the DigtalOcean API v2 client for Go
Package godo is the DigtalOcean API v2 client for Go
_workspace/src/github.com/docker/docker/pkg/term
Package term provides provides structures and helper functions to work with terminal (state, sizes).
Package term provides provides structures and helper functions to work with terminal (state, sizes).
_workspace/src/github.com/google/go-querystring/query
Package query implements encoding of structs into URL query parameters.
Package query implements encoding of structs into URL query parameters.
_workspace/src/github.com/tent/http-link-go
Package link implements parsing and serialization of Link header values as defined in RFC 5988.
Package link implements parsing and serialization of Link header values as defined in RFC 5988.
_workspace/src/golang.org/x/crypto/curve25519
Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519.
Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519.
_workspace/src/golang.org/x/crypto/ssh
Package ssh implements an SSH client and server.
Package ssh implements an SSH client and server.
_workspace/src/golang.org/x/crypto/ssh/agent
Package agent implements a client to an ssh-agent daemon.
Package agent implements a client to an ssh-agent daemon.
_workspace/src/golang.org/x/crypto/ssh/terminal
Package terminal provides support functions for dealing with terminals, as commonly found on UNIX systems.
Package terminal provides support functions for dealing with terminals, as commonly found on UNIX systems.
_workspace/src/golang.org/x/crypto/ssh/test
This package contains integration tests for the golang.org/x/crypto/ssh package.
This package contains integration tests for the golang.org/x/crypto/ssh package.
_workspace/src/golang.org/x/net/context
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
_workspace/src/golang.org/x/oauth2
Package oauth2 provides support for making OAuth2 authorized and authenticated HTTP requests.
Package oauth2 provides support for making OAuth2 authorized and authenticated HTTP requests.
_workspace/src/golang.org/x/oauth2/clientcredentials
Package clientcredentials implements the OAuth2.0 "client credentials" token flow, also known as the "two-legged OAuth 2.0".
Package clientcredentials implements the OAuth2.0 "client credentials" token flow, also known as the "two-legged OAuth 2.0".
_workspace/src/golang.org/x/oauth2/facebook
Package facebook provides constants for using OAuth2 to access Facebook.
Package facebook provides constants for using OAuth2 to access Facebook.
_workspace/src/golang.org/x/oauth2/github
Package github provides constants for using OAuth2 to access Github.
Package github provides constants for using OAuth2 to access Github.
_workspace/src/golang.org/x/oauth2/google
Package google provides support for making OAuth2 authorized and authenticated HTTP requests to Google APIs.
Package google provides support for making OAuth2 authorized and authenticated HTTP requests to Google APIs.
_workspace/src/golang.org/x/oauth2/internal
Package internal contains support packages for oauth2 package.
Package internal contains support packages for oauth2 package.
_workspace/src/golang.org/x/oauth2/jws
Package jws provides encoding and decoding utilities for signed JWS messages.
Package jws provides encoding and decoding utilities for signed JWS messages.
_workspace/src/golang.org/x/oauth2/jwt
Package jwt implements the OAuth 2.0 JSON Web Token flow, commonly known as "two-legged OAuth 2.0".
Package jwt implements the OAuth 2.0 JSON Web Token flow, commonly known as "two-legged OAuth 2.0".
_workspace/src/golang.org/x/oauth2/linkedin
Package linkedin provides constants for using OAuth2 to access LinkedIn.
Package linkedin provides constants for using OAuth2 to access LinkedIn.
_workspace/src/golang.org/x/oauth2/odnoklassniki
Package odnoklassniki provides constants for using OAuth2 to access Odnoklassniki.
Package odnoklassniki provides constants for using OAuth2 to access Odnoklassniki.
_workspace/src/golang.org/x/oauth2/paypal
Package paypal provides constants for using OAuth2 to access PayPal.
Package paypal provides constants for using OAuth2 to access PayPal.
_workspace/src/golang.org/x/oauth2/vk
Package vk provides constants for using OAuth2 to access VK.com.
Package vk provides constants for using OAuth2 to access VK.com.
_workspace/src/gopkg.in/yaml.v1
Package yaml implements YAML support for the Go language.
Package yaml implements YAML support for the Go language.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL