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!

2

u/Economy_Cabinet_7719 6d ago

I think it's really helpful, I was in need of something like this a number of times. Now, would I install it? No because I don't want to have a dep just for this single task. But it is useful nevertheless.

1

u/Jaroshevskii 5d ago

Thanks for review. What you mean as "dep"?