The gw command
The few commands you are likely to type.
gw drives Golemworks from a terminal. You do not need it to use the app. Setup's "gw on PATH" step makes it available. Open a new terminal after adding it.
Look around
| Command | What it does |
|---|---|
gw docs |
Lists these guide pages |
gw docs search <words> |
Searches them |
gw status |
Says whether golemd is running and how many golems need you |
gw list |
Lists your golems and their states |
gw usage |
Shows plan usage |
gw waiting |
Lists what is waiting on you |
Work with golems
| Command | What it does |
|---|---|
gw launch --brief <file> --workspace <name> |
Starts a golem on a brief |
gw chat |
Chat with the Overlord in the terminal. Ctrl+C leaves |
gw chat --thread <n> |
Reply in the thread message #n starts: the Overlord's answer lands there too |
gw chat --search "<words>" |
Lists the Chat messages, in threads too, that hold every word, newest first |
gw notes |
Lists your notes. gw notes show N-3 prints one |
gw resume <golem> |
Starts an exited or parked golem again |
gw park <golem> |
Stops a golem to free the computer. It stays on the Board |
gw close <golem> |
Ends a golem and removes it from the Board |
Use the golem's name as gw list shows it.
Wait on a pull request's checks
| Command | What it does |
|---|---|
gw ci wait <pr> |
Waits until the pull request's checks pass, or says which one failed |
gw watch <name> --ci <pr>,<pr> --for self |
Keeps watching one or more pull requests in the background, checking every 3 minutes, and tells the golem once when all pass or one fails |
Give each pull request as its number or its link, never a run number. A golem's watch started from its starting folder looks the number up in the golem's own worktree.
The background watch survives a restart of the app and slows down by itself when GitHub asks it to.
When a watch ends, the message about it shows only its last lines. gw watch output <name> prints all of it, for 7 days after it ends.
Take screenshots
| Command | What it does |
|---|---|
gw shot <link or file> |
Saves a picture of a web page or an HTML file at laptop width (1440) and phone width (390), the whole page top to bottom |
gw shot <link> --widths 1280,720 |
Uses the widths you name instead |
A golem saves the pictures with its other files for you. Run from your own terminal, add --out <folder> to say where they go. It uses Edge or Chrome, already on your computer, and opens no window.
Look after the app
| Command | What it does |
|---|---|
gw restart |
Restarts golemd safely. If a restart is already running it says so and starts no second one |
gw restart --wait |
Restarts golemd and returns with the result, or waits for the restart already running |
gw settings --live |
Shows the running golemd's settings without changing any. Keys and passwords show only as set or not set |
gw stop |
Stops golemd |
gw autostart on |
Starts golemd when you log in |
gw update |
Shows the version and the last update |
gw doctor |
Looks for stray processes and says how to end them |
gw tokens save on |
Turns token saving on |
Golems use many more commands among themselves. You can ignore those.