lemur
Lemur Flags
Installation
-
Add the dependency to your
shard.yml
:dependencies: lemur: github: willhbr/lemur
-
Run
shards install
Usage
require "lemur"
Lemur.flag(my_flag, String, "A very important flag")
# Read ARGV and set all the flags
Lemur.init
puts Lemur.my_flag
Running the program:
$ ./my_program --my_flag="A very important value"
A very important value
Contributing
- Fork it (https://github.com/willhbr/lemur/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
- Will Richardson - creator and maintainer
Repository
lemur
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- 5 months ago
- April 23, 2024
License
MIT License
Links
Synced at
Sun, 17 Nov 2024 08:15:50 GMT
Languages