This CLI app receives user input, scrapes the Wikipedia coffee page for information about Coffee roasts, and returns information about the coffee roast.
- Command Line Interface
- Scrapes Wikipedia
- Creates Coffee Roast Objects
- Receives input from user
- Returns Coffee Roast Objects
Add this line to your application's Gemfile:
gem 'coffee-cli-app'
And then execute:
$ bundle
Or install it yourself as:
$ gem install coffee-cli-app
After installing:
-
Switch to the coffee-cli-app directory in your CLI app.
-
Type "bin/coffee-cli" in the console.
-
Type "yes" at the first question prompt to continue. Otherwise the application will close.
-
Enter the following at the next prompt:
- "List": prints a list of available options
- "Light", "Medium", or "Dark": returns information regarding the roasts
- "Exit": to close the application
After checking out the repo, run bin/setup
to install dependencies. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/epunx2/coffee-cli-app. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
Everyone interacting in the Coffee::Cli::App project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
The Coffee-cli-app is released under the MIT License.