BByteLoggerinbytelogger.hashnode.dev·1d ago · 4 min readGenerating CI Workflows During ScaffoldEvery project scaffoldr creates in v0.1.0 gets a working CI setup out of the box - tests and linting run automatically on every push and pull request. No separate step, no manual GitHub Action setup. 00
BByteLoggerinbytelogger.hashnode.dev·Sep 27 · 4 min readAutomating Issue Creation and Branch ProtectionWith the repo created, the last two pieces of scaffoldr new were opening a starter set of issues and locking down main so nothing gets pushed to it directly. Default issues, with room to override scaf00
BByteLoggerinbytelogger.hashnode.dev·Sep 13 · 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