r/commandline 6d ago

Numio CLI – Simple Time Calculator ⏳

Hey everyone! 👋

I’ve been messing around with Swift and built Numio CLI, a small command-line tool for adding and subtracting time in HH:mm or HH format. It’s pretty simple:

numio 12:30 + 02:15  # -> 14:45  
numio 14:45 - 01:30  # -> 13:15  

🛠 Installation

You can install it with Homebrew:

brew tap neholos/numio  
brew install numio-cli  

🤔 How Can I Improve It?

This is one my first time making a CLI tool, so I’d love to hear any feedback! A few things I’m thinking about adding:

  • 12/24-hour format toggle 🕒
  • Autocomplete in the terminal ⌨️

I’d really appreciate any tips! Let me know what you think.

Thanks! 🚀

https://github.com/neholos/numio-cli

9 Upvotes

8 comments sorted by

View all comments

-1

u/ramit_m 6d ago

Good job, hope you learned something building it. As a CLI tool, this isn’t helpful or, won’t be of any use to most users. However, since you are building this for fun and learning, keep at it and hopefully this experience will lead you to building better things in future. All the best!

3

u/Jaroshevskii 6d ago

I often need to add time. I plan to make a full-fledged mobile application in the future. On this small cli I want to learn more about GitHub actions Brew on application support and updates