The project is in a healthy, maintained state
Makes it so that any foobara command will cache its result in memory and on disk.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

 Project Readme

Foobara::CachedCommand

Installation

Typical stuff... either add gem "foobara-cached_command" to your Gemfile or spec.add_dependency "foobara-cached_command" to your .gemspec or gem install foobara-cached_command depending on what you're up to.

Usage

Will automatically cache any command to memory and disk if you include it.

SomeCommand.include(Foobara::CachedCommand)

Note that for now this only caches the results of the command without making use of the inputs. This is because for now I just want this for a few commands that don't take any inputs.

If somebody wants the ability to cache different outputs for different inputs let me know and I'd love to add such a feature.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/foobara/foobara-cached-command

License

This project is licensed under the MPL-2.0 license. Please see LICENSE.txt for more info.