Skip to content

learn

A standalone command, registered alongside polyforge at activation. It owns everything under Dev/Learn/<lang>/.

learn init LANG

Scaffold the tiered curriculum for a language.

Idempotent — safe to re-run. Creates the 00-setup through 04-advanced tiers, plus playground/, challenges/, notes/, and the README / ROADMAP / PROGRESS trio.

$ learn init go

learn LANG TOPIC

Create the next day for a topic. Auto-initialises the track if new.

The everyday entry point. learn go loops lands in playground/day01-loops on a fresh track.

$ learn go loops
$ learn python decorators

learn LANG next TOPIC

Explicit next day — works from any directory.

$ learn go next slices

learn LANG dayN TOPIC

Create one specific day, zero-padded.

$ learn go day5 generics

learn next TOPIC

Next day for the track you are standing in.

run inside Dev/Learn/<lang>

$ learn next slices

learn list LANG

Show progress and what `next` would create.

next fills the lowest missing day first — delete day02 and the next call recreates it before moving on.

$ learn list go

learn publish LANG

Push a track to GitHub and register it.

requires gh

$ learn publish go

learn get LANG|all

Restore registered tracks into Dev/Learn/.

$ learn get all
$ learn get go

learn help

List every command.

$ learn help

next creates the lowest missing day, not the highest plus one. If day02 was deleted, the next call recreates day02 before continuing. Days are zero-padded to two digits: day01, day05, day12.

You type You get
learn go loops next day, topic loops
learn go next slices same, stated explicitly — works from any directory
learn go day5 generics playground/day05-generics
learn next slices next day of the track you are standing in