lemur

Lemur Flags

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      lemur:
        github: willhbr/lemur
    
  2. 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

  1. Fork it (https://github.com/willhbr/lemur/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

lemur

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • 25 days ago
  • April 23, 2024
License

MIT License

Links
Synced at

Thu, 16 May 2024 18:16:37 GMT

Languages