Versions in this module Expand all Collapse all v0 v0.2.0 May 11, 2020 v0.1.0 May 11, 2020 Changes in this version + const PATH_CONFIG_FILE + var Config *config.Config + var DefaultPrinter *services.Printer + var DefaultSpinner *spinner.Spinner + func AskYNQuestion(question string, tries int, defaultInput bool, red bool) bool + func AskYNTorrentLegalUsage() bool + func HandleWatchMovie(url string) bool + func HandleWatchTorrentMagnet(magnet string) bool + func StartSpinner(id int, speed int) + func StopSpinner() + func UseNoResultFilter() models.ResultFilter + func WaitInputIntFromCLI() int + func WaitInputStringFromCLI() string + type App struct + CTX context.Context + Config *config.Config + DB *database.DB + Store store.Stores + func (a *App) AddToMovieLikeDB(info models.MovieInfo, liked bool) error + func (a *App) AddToSearchHistoryDB(info models.MovieInfo, from string) error + func (a *App) AddToWatchLaterDB(info models.MovieInfo, watched bool) error + func (a *App) HandleHistoryRequest(c *cli.Context) + func (a *App) HandleLearnRequest(c *cli.Context) + func (a *App) HandleMyListRequest(c *cli.Context) + func (a *App) HandleNoteRequest(c *cli.Context) + func (a *App) HandleSearchTitleRequest(c *cli.Context) + func (a *App) HandleTorrentRequest(c *cli.Context, movie *models.MovieInfo) + func (a *App) HandleUpdateRequest(c *cli.Context) + func (a *App) Initialize(config *config.Config) + func (a *App) PostTrailerOperations(info models.MovieInfo, watched bool)