CLI
Class The class for the command line interface.
Constructor Summary
Public Constructor | ||
public |
constructor(providerName: String) Create a cli object. |
Member Summary
Private Members | ||
private |
The shema used by |
|
private |
The schema used by |
|
private |
The schema used by |
|
private |
The schema used by |
|
private |
The util object with general functions. |
Method Summary
Public Methods | ||
public |
run() Run the CLI program. |
Private Methods | ||
private |
Adds a show to the database through the CLI. |
|
private |
_getMovieTorrentDataRemote(torrent: String, language: String, quality: String): Promise Get movie data from a given torrent url. |
|
private |
_getShowTorrentDataRemote(torrent: String, quality: String, season: Integer, episode: Integer): Promise Get show data from a given torrent url. |
|
private |
Confimation to import a collection |
|
private |
Adds a movie to the database through the CLI. |
|
private |
Adds a show to the database through the CLI. |
Public Constructors
Private Members
Public Methods
Private Methods
private _getMovieTorrentDataRemote(torrent: String, language: String, quality: String): Promise source
Get movie data from a given torrent url.