Add cli.py with main(argv) and __main__.py so that python -m turtle_challenges <challenge> creates the window, runs the named challenge and waits for a click. Register square and dashed-line; the choices are listed by --help. Declare the turtle-challenges command in pyproject.toml, since it points at cli.py.
Phase: MIL-002
Add `cli.py` with `main(argv)` and `__main__.py` so that `python -m turtle_challenges <challenge>` creates the window, runs the named challenge and waits for a click. Register `square` and `dashed-line`; the choices are listed by `--help`. Declare the `turtle-challenges` command in `pyproject.toml`, since it points at `cli.py`.
Phase: MIL-002
Tirsvad
added this to the Milestone 002: Square and Dashed Line milestone 2026-10-07 18:01:51 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Add
cli.pywithmain(argv)and__main__.pyso thatpython -m turtle_challenges <challenge>creates the window, runs the named challenge and waits for a click. Registersquareanddashed-line; the choices are listed by--help. Declare theturtle-challengescommand inpyproject.toml, since it points atcli.py.Phase: MIL-002