BByteLoggerinbytelogger.hashnode.dev·4d ago · 3 min readRunning Git Commands from Python Once scaffold writes all the project files, it needs to turn the directory into an actual git repository - run git init, stage everything, and make the first commit. I went with running the git binary00
BByteLoggerinbytelogger.hashnode.dev·Sep 1 · 3 min readRendering and Writing Files in PythonWith the CLI shell in place, the next problem was what scaffoldr init actually creates. In v0.1.0, every project got the same directory structure and files - README, CONTRIBUTING guide, pyproject.toml00
BByteLoggerinbytelogger.hashnode.dev·Aug 29 · 3 min readSetting up a CLI with TyperI'd used argparse before. It's clunky - lots of boilerplate for even simple commands. Typer works differently. You write a normal function with type annotated parameters. Typer builds the CLI from the10
BByteLoggerinbytelogger.hashnode.dev·Aug 22 · 3 min readwatchr v0.1.0: A Retrospective - Lessons and What's NextThis series has covered why watchr looks the way it does: TOML for config, debouncing for file events, graceful shutdown, and readable output. v0.1.0 is shipped. This post is about what I'd change, an10
BByteLoggerinbytelogger.hashnode.dev·Aug 16 · 3 min readFrom println! to Structured Output: A UX LessonIn the last post, I covered graceful shutdown. This post is about a bug that wasn't really a bug - just bad output that made watchr hard to actually use. What it looked like Initially, watchr ran your10