Documentation ¶
Overview ¶
Copyright © 2022 Shubh Karman Singh <sksingh2211@gmail.com> All rights reserved. This Project is under BSD-3 License Clause. Look at License for more detail.
Copyright © 2022 Shubh Karman Singh <sksingh2211@gmail.com> All rights reserved. This Project is under BSD-3 License Clause. Look at License for more detail.
Copyright © 2022 Shubh Karman Singh <sksingh2211@gmail.com> All rights reserved. This Project is under BSD-3 License Clause. Look at License for more detail.
Copyright © 2022 Shubh Karman Singh <sksingh2211@gmail.com> All rights reserved. This Project is under BSD-3 License Clause. Look at License for more detail.
Index ¶
- Variables
- func CallSetup(cmd *cobra.Command, args []string) error
- func CallUpdateConfig(cmd *cobra.Command, args []string) error
- func CheckIfConfigFlagSet(cmd *cobra.Command) (bool, bool, bool)
- func CheckIfSearchFlagsSet(cmd *cobra.Command, args []string) (movieSet, seriesSet, bothSet bool, err error)
- func Execute()
- func Search(cmd *cobra.Command, args []string) error
Constants ¶
This section is empty.
Variables ¶
var ( MovieName string SeriesName string )
Flags for searchCmd
var ConfigCmd = &cobra.Command{ Use: "config", Short: "Used to change already set user preferences or reset the user preferences to default", Long: `YAST is a TUI utility that will let you stream your favorite movies/tv-series in one command.`, RunE: CallUpdateConfig, }
configCmd represents the config command
var SearchCmd = &cobra.Command{ Use: "search", Short: "Search for a movie or tv-series that you want to watch", Long: `YAST is a TUI utility that will let you stream your favorite movies/tv-series in one command.`, RunE: Search, }
searchCmd represents the search command
Functions ¶
func CheckIfSearchFlagsSet ¶
Types ¶
This section is empty.