Documentation ¶
Overview ¶
Copyright © 2024 Victor Hang
Copyright © 2024 Victor Hang ¶
Copyright © 2024 Victor Hang
Index ¶
Constants ¶
View Source
const (
YoutubeSubscriptionsURL = "https://www.googleapis.com/youtube/v3/subscriptions"
)
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "ytui", Short: "ytui TUI.", Long: ` ytui is a TUI tool that allows users to query videos on youtube and play them in their local player. The configuration files is autogenerated on first run at *$HOME/.config/ytui/config.yaml*`, PersistentPreRun: func(cmd *cobra.Command, args []string) { initConfig() }, Run: func(cmd *cobra.Command, args []string) { if versionFlag { fmt.Printf("%s", version) } else { cmd.Help() } }, }
rootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.