Cheatsheet
Every command, one page. Printable, and generated from the same source as the full reference pages.
polyforge
polyforge status | Show every declared tool and its resolved version. |
polyforge install | Install the full declared toolchain. |
polyforge create LANG NAME | Scaffold a new project at Workspace/<Lang>/<name>. |
polyforge update | Upgrade every tool to the latest version matching its constraint. |
polyforge clean [--all] | Remove .cache. With --all, also run mise implode. |
polyforge doctor | Health check the workspace. |
polyforge activate | Re-run the trust handshake and shell registration. |
polyforge publish | Push the current project to GitHub and register it as a portfolio. |
polyforge get NAME|all | Restore registered portfolio projects into Workspace/<Lang>/. |
polyforge help | List every command. |
learn
learn init LANG | Scaffold the tiered curriculum for a language. |
learn LANG TOPIC | Create the next day for a topic. Auto-initialises the track if new. |
learn LANG next TOPIC | Explicit next day — works from any directory. |
learn LANG dayN TOPIC | Create one specific day, zero-padded. |
learn next TOPIC | Next day for the track you are standing in. |
learn list LANG | Show progress and what `next` would create. |
learn publish LANG | Push a track to GitHub and register it. |
learn get LANG|all | Restore registered tracks into Dev/Learn/. |
learn help | List every command. |
forge
forge new NAME "DESCRIPTION" | Scaffold a blank template, create its private repo, and register it. |
forge list | Numbered list with descriptions and local/remote status. |
forge get NAME|all | Clone registered templates back onto this machine. |
forge remove NAME | Delete the local copy. The GitHub repo and registry entry are kept. |
forge help | List every command. |
The two loops worth memorising
Section titled “The two loops worth memorising”New machine
git clone git@github.com:rizaldevv/polyforge.gitcd polyforge.\polyforge.ps1 activate # ./polyforge.sh activate on POSIXpolyforge installpolyforge get all; learn get all; forge get allNew work
polyforge create Python wall-extraction # or: forge get my-template# ... work ...polyforge publish # then commit polyforge.registry.toml