Last time I shared why I’m building Glyph.Flow, a minimalist workflow manager in the terminal with Textual.
This week it’s time for an update on what I managed to get done.
🎯 The Big Goal
I wanted to move from a rough prototype into something modular and extensible.
That meant one thing: a command registry.
🔨 What Changed This Week
Backend refactor: my massive 630-line app.py is now down to ~112 lines. Commands live in a registry, not tangled logic.
Command registry: all commands are defined declaratively, with schema-based argument parsing, aliases, and usage.
Logging: unified styling and message keys, with autosave and error handling standardized.
New config command: quick way to tweak settings on the fly.
Consistency: adding a new command is now just “add a dict + handler”.
😅 The Feeling
It finally behaves like a real CLI app instead of a spaghetti prototype — but I’ll be honest, it’s still a prototype.
The difference is: now the foundation feels stable enough to build on.
⏭️ What’s Next
More commands to migrate (delete, edit, schema, …).
Road toward a TUI interface on top of this backend.
Eventually, I’d like this to feel like a natural console companion for managing projects.
That’s it for this week’s log.
If you’re into command-line tools, or building things with Textual, I’d love to hear your feedback. 🚀
Top comments (3)
Gosh, I just wish I understand your post.. but more strength 💪🏾 to building something cool 😎.
Haha, thank you! Totally get it. It’s still a bit niche, but I hope once the TUI part is ready it’ll be easier to see what it does in action 😅. Keep going strong with #100DaysOfPython 🚀
Thank you and weldone 💪🏾🙌🏾😊