Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,19 @@ To set a new default context, run `doctl auth switch --context <new-context-name

The `--access-token` flag or `DIGITALOCEAN_ACCESS_TOKEN` [environment variable](#environment-variables) are acknowledged only if the `default` context is used. Otherwise, they will have no effect on what API access token is used. To temporarily override the access token if a different context is set as default, use `doctl --context default --access-token your_DO_token ...`.

## Quick Start: doctl CLI Cheat Sheet

| Task | Command Example |
|---------------------------|------------------------------------------|
| Authenticate | `doctl auth init` |
| List Droplets | `doctl compute droplet list` |
| Create Droplet | `doctl compute droplet create <name>` |
| List Kubernetes Clusters | `doctl kubernetes cluster list` |
| Get Account Info | `doctl account get` |

For full command options, run `doctl help` or visit the [CLI reference](https://docs.digitalocean.com/reference/doctl/).


## Configuring Default Values

The `doctl` configuration file is used to store your API Access Token as well as the defaults for command flags. If you find yourself using certain flags frequently, you can change their default values to avoid typing them every time. This can be useful when, for example, you want to change the username or port used for SSH.
Expand Down
25 changes: 23 additions & 2 deletions _typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,29 @@ vas = "vas"
splitted = "splitted"

[default.extend-words]
# Its not perfect at hashes yet
# Hash-related typo
cace = "cace"
Wqs = "Wqs"
# example and exmaple as two domain examples

# Domain examples
exmaple = "exmaple"

# CLI-related typos
doct = "doctl"
doclt = "doctl"
doctl' = "doctl"
doctl;s = "doctl’s"
doctl 's = "doctl’s"
doctl`s = "doctl’s"
doctl’ss = "doctl’s"

# Markdown formatting quirks
`doctl`'s = "doctl’s"
`doctl` ’s = "doctl’s"
`doctl`' = "doctl’s"

# Common contributor typos
intial = "initial"
recieve = "receive"
teh = "the"
enviroment = "environment"