Package com.netflix
Class CLI
java.lang.Object
com.netflix.CLI
CLI application to manage Netflix movies using picocli.
This CLI allows users to add movies, add reviews, list all movies,
and search for movies by various criteria such as name, year, category, or
director.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) booleanOption to display the help message for the CLI. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddMovie()Command to add a new movie.(package private) voidCommand to add a review to a movie.call()Default method that is executed if no valid subcommand is provided.(package private) voidgetMovieList(int limit, int page)
-
Field Details
-
helpRequested
boolean helpRequestedOption to display the help message for the CLI.
-
-
Constructor Details
-
CLI
public CLI()
-
-
Method Details
-
addMovie
void addMovie()Command to add a new movie. This is a placeholder and should be extended with actual implementation. -
addReview
Command to add a review to a movie. This is a placeholder and should be extended with actual implementation. -
getMovieList
void getMovieList(int limit, int page) -
call
Default method that is executed if no valid subcommand is provided. Displays a usage message.
-