Expand description
Turning command line arguments into a concrete plan of work.
Resolution is pure: it takes the parsed arguments, the configuration, a
directory and a clock, and produces a Plan whose variants carry exactly
what their handler needs. A mode that requires a language cannot be
constructed without one, so no downstream code has to re-check.
Enums§
- Plan
- A fully resolved unit of work.
- Resolve
Error - Errors produced while resolving a plan.
Functions§
- default_
day - The day to use when none was given: today during the event, otherwise the first puzzle.
- latest_
available_ year - The most recent event that has started on the given date.
- plan
- Resolves arguments, the working directory and the clock into a
Plan.