Skip to content

Commit 78f1634

Browse files
Justin Poehneltjpoehnelt-bot
andauthored
docs: fix gws setup → gws auth setup (fixes googleworkspace#56, googleworkspace#57) (googleworkspace#60)
Co-authored-by: jpoehnelt-bot <jpoehnelt-bot@users.noreply.github.com>
1 parent 5246d73 commit 78f1634

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

.changeset/fix-setup-docs.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@googleworkspace/cli": patch
3+
---
4+
5+
Fix docs: `gws setup``gws auth setup` (fixes #56, #57)

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ npm install -g @googleworkspace/cli
4545
```bash
4646
npm install -g @googleworkspace/cli
4747

48-
gws setup # walks you through Google Cloud project config + OAuth login
48+
gws auth setup # walks you through Google Cloud project config + OAuth login
4949
gws drive files list --params '{"pageSize": 5}'
5050
```
5151

@@ -92,15 +92,15 @@ The CLI supports multiple auth workflows so it works on your laptop, in CI, and
9292
Credentials are encrypted at rest (AES-256-GCM) with the key stored in your OS keyring.
9393

9494
```bash
95-
gws setup # one-time: creates a Cloud project, enables APIs, logs you in
95+
gws auth setup # one-time: creates a Cloud project, enables APIs, logs you in
9696
gws auth login # subsequent logins
9797
```
9898

9999
> Requires the [`gcloud` CLI](https://cloud.google.com/sdk/docs/install) to be installed and authenticated.
100100
101101
### Manual OAuth setup (Google Cloud Console)
102102

103-
Use this when `gws setup` cannot automate project/client creation, or when you want explicit control.
103+
Use this when `gws auth setup` cannot automate project/client creation, or when you want explicit control.
104104

105105
1. Open Google Cloud Console in the target project:
106106
- OAuth consent screen: `https://console.cloud.google.com/apis/credentials/consent?project=<PROJECT_ID>`
@@ -210,7 +210,7 @@ The `gws-shared` skill includes an `install` block so OpenClaw auto-installs the
210210

211211
1. Authenticate the CLI first:
212212
```bash
213-
gws setup
213+
gws auth setup
214214
```
215215

216216
2. Install the extension into the Gemini CLI:
@@ -296,7 +296,7 @@ If a required Google API is not enabled for your GCP project, you will see a
296296
3. Wait ~10 seconds, then retry your `gws` command.
297297

298298
> [!TIP]
299-
> You can also run `gws setup` which walks you through enabling all required
299+
> You can also run `gws auth setup` which walks you through enabling all required
300300
> APIs for your project automatically.
301301
302302

0 commit comments

Comments
 (0)