crcache
cache
A simple command line program to cache long running command line applications.
Installation
(have crystal)
make install
Usage
crcache --help
crcache v0.1.0
-v, --version Show version
-h, --help Show help
-l, --list Show all cached commands
-d CMD, --delete=CMD Delete specified command
-r, --refresh Refresh all cached commands
-t, --test Refresh test command
-D, --dump Display all cached results
crcache ansiweather
Why? I have a few programs that take more than a few milliseconds to run, that I like to have run everytime I open a terminal window. I now have a cron job that keeps the data fresh (crcache -r) and then display the cached results when starting a terminal.
Contributing
- Fork it (https://github.com/your-github-user/cache/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Patrick Hurley - creator and maintainer
Repository
crcache
Owner
Statistic
- 1
- 0
- 0
- 0
- 1
- about 3 years ago
- April 14, 2021
License
MIT License
Links
Synced at
Sun, 05 May 2024 23:10:45 GMT
Languages