From b073abd3eae0580f10e916f9ce67cb06aca6deb5 Mon Sep 17 00:00:00 2001 From: RISHIT GHOSH Date: Sun, 12 Oct 2025 16:58:04 +0530 Subject: [PATCH] chore: expand typo detection and add CLI cheat sheet to README --- README.md | 13 +++++++++++++ _typos.toml | 25 +++++++++++++++++++++++-- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c64251aa2..d5d029e48 100644 --- a/README.md +++ b/README.md @@ -284,6 +284,19 @@ To set a new default context, run `doctl auth switch --context ` | +| 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. diff --git a/_typos.toml b/_typos.toml index 50126075a..911a2e3fa 100644 --- a/_typos.toml +++ b/_typos.toml @@ -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"