in-cli-0.2.0 is not a library.
in
A minimal CLI tool to run any command after a specified delay.
Displays a clean countdown TUI while waiting, then executes your command.
Installation
Or build from source:
Usage
Duration formats
Uses humantime for flexible duration parsing:
| Format | Duration |
|---|---|
30s |
30 seconds |
5m |
5 minutes |
1h |
1 hour |
1h30m |
1 hour 30 minutes |
2h30m45s |
2 hours 30 minutes 45 seconds |
Examples
# Restart services in 10 minutes
# Run a backup in 2 hours
# Quick 30 second delay
# Deploy after lunch
Cancellation
Press Ctrl+C at any time to cancel. The command will not run and the tool exits with code 130.
Development
Requires just for task running.
License
MIT