Welcome to my New York Times CLI Gem! You will be able to see the lastest movies and reviews picked by the critics' at the New York Times. You will also be able to see more information about the movies like their descriptions, opening dates, and a short summary.
Add this line to your application's Gemfile:
gem 'nyt_cli'And then execute:
$ bundle
Or install it yourself as:
$ gem install nyt_cli
- Once you have cloned the repo from Github, you will need to cd into the CLI by typing cd nyt_cli/
- Type ruby bin/run in the terminal to start the program.
- After you will be greeted and asked if you would like to see the latest movies picked by New York Times movie critics'. - At this point you will type "y" to see the list of movies or "n" to exit the program.
- You will be giving a list of movies.
- At this point you can: - Choose a number to see the details of a movie. - Choose "list" to see the movie list again. - Choose "exit" to leave the program.
- Hope you enjoy using the CLI and are able to find a movie to see next time in theaters!
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/'fair-database-5222'/nyt_cli. 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.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the NytCli project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.