guianselmi / movie-rater

Use Command Line options to (CRUD) update a JSON file filled with Movies and their Rating: add, remove, update, display and random.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Read a JSON file filled with Movies and Star Rating.

Use Command Line options to (CRUD):

  • Add a movie (with or without rating);
  • Remove a movie;
  • Update a movie's rating;
  • Display a specific movie and its rating (or all of them);
  • Randomize, letting the gods of randomness choose a random listed movie for you.

Usage

$ ruby movies.rb -h

About

Use Command Line options to (CRUD) update a JSON file filled with Movies and their Rating: add, remove, update, display and random.


Languages

Language:Ruby 100.0%