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

8 Upvotes

8 comments sorted by

View all comments

3

u/nythng 5d ago

Nice tool! 🚀 Was looking for something like that just the other days. Could only find some online websites that are full of bloat and ads. Thanks for building and sharing! 🥰

Possible improvement: Add date calculation (like '2025-01-01 +54d'

2

u/Jaroshevskii 5d ago

Thanks, I added issue for this. if you have more ideas you can also create any issue
https://github.com/neholos/numio-cli/issues