Determinist // Devlog 4 // 2026.08.07
Developer experience and cleanups
What changed
- My code now has comments! Although it is quite straightforward to understand, I did include a few here and there.
- A brand new
versioncommand shows what version Determinist is on, what commit it was built from, and the Python version it uses. - I added more custom error handling to commands
Something funny happened…
I was testing the generation of the default preset, and I forgot to press tab when deleting the Determinist config directory. I only realized that when Hyprland started screaming at me about missing configurations. I thought “that’s weird”, so I checked the command I ran. rm -rf ~/.config/. I deleted my entire configuration directory… Luckily, I had backups, but at least I’ve learned that I should double check my commands.
Another Typer issue
To absolutely no one’s surprise, Typer didn’t work as intended, once again. It kept reporting the wrong error when running presets subcommands. Turns out it was the callback I wrote to list the presets. It actually ran the check every time a presets command was run, giving the wrong error when a non TOML file was detected in the presets directory. It was a quick fix, but now I’m quite comfortable with Typer.
Comments 3
Wow, it sounds like Typer is really frustrating to work with. Are there no decent alternatives?
@stratustraipsing there’s argparse which is built into Python, but Typer is also fine, it’s just my first time using it so I’m just not really used to it. It’s got really nice features as well, so I’ll definitely use it in more projects if I’m making a CLI app
@Mate1166 Oh that’s interesting, I never used Typer, so I couldn’t tell whether the issues were chronic or just a learning curve.
Sign in to join the conversation.