NprCliNewsReader

This Gem allows a user to choose from a list of news categories. The ClI then displays the articles from npr.org that are under the selected category. Then the user can select a specific article. Once an article is selected then the full article will be displayed. Once the user gets to the end of the article they have a choice to exit the program, return to the category selection, or return back to the article selection from the previous category selected.

Installation

Install as a gem

Add this line to your application's Gemfile:

gem 'npr_cli_news_reader'

And then execute in terminal:

$ bundle

Or install it yourself as:

$ gem install npr_cli_news_reader

In terminal:

$ irb
> require "npr_cli_news_reader"
> NprCliNewsReader::CLI.new.call

The application will start up for you.

Or clone the git repository from github

In your terminal run:

$ git clone https://github.com/jgarcia4444/npr_cli_news_reader.git

$ ./bin/setup

$ ./bin/npr_cli_news_reader

The CLI application will start after the last command

Usage

This ClI is meant to bring the news of NPR to your terminal. No pictures getting in the way.

Development

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.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/'jGarcia4444'/npr_cli_news_reader. 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.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the NprCliNewsReader project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.