Leading with Zeros, ending with .txt
Hello everyone!
Dusting off my leading zero utility after finishing up Pong, and there were some issues!
I realised that my utility didn’t work for filenames with extensions (no problem-01.rs or mediocre-01.py), so that needed to be fixed.
The CLI uses a target length for non-basic additions, so it only works on filenames with nonnumeric sections of the same length (target-01.rs, project-11.rs), but not problem-11 & target-01. Consequently, the help sections need to warn about this. I also added some more examples at the bottom of the long help.
This isn’t as much of an issue as something I just found out about. There is a crate, clap_mangen, THAT LETS YOU GENERATE MAN DOCS, which I feel I feel way more excitement than it warrants. This is the next step for this project.
See y’all next devlog!

Comments 0
No comments yet. Be the first!
Sign in to join the conversation.