Devlog #1
Started building Redo’s storage module today. Redo is a simple CLI tool that lets you save repeated terminal workflows and run them again with one command — for example, saving a Vite setup flow once and later running it with redo vite.
The main progress today was getting the basic storage system working. I finished initialize_file(), load_workflows(), and save_workflows(), which handle creating the workflow JSON file, reading saved workflows, and writing updates back to storage.
The tricky part was understanding how file paths, JSON loading, and return status messages should work together without making the code messy. I also learned why an empty JSON file breaks loading, so the storage file now starts with {} instead of being created blank. I also learned new libraries like pathlib
There’s still a lot left in the storage module, especially add_workflow(), get_workflow(), delete_workflow(), and run-count tracking, but the foundation is finally in place. Next goal: make Redo actually save a new workflow from user input.
No ss today :(
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.