4 "github.com/spf13/cobra"
11 var Channel
= cobra
.Command
{
13 Short
: "Get information about a channel",
16 var matchChannelID
= regexp
.MustCompile("^([\\w\\-]|(%3[dD]))+$")
19 channelDumpCmd
.Flags().BoolVarP(&force
, "force", "f", false, "Overwrite the output file if it already exists")
20 channelDumpCmd
.Flags().Uint32Var(&offset
, "page-offset", 1, "Start getting videos at this page. (A page is usually 30 videos)")
21 Channel
.AddCommand(&channelDumpCmd
)