Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "pan", Short: "RSS feed manager", Long: `With pan you can generate a RSS XML from a YAML file, and viceversa. For example: pan my_feed.yml > my_feed.xml pan my_feed.xml > my_feed.yml`, Run: func(cmd *cobra.Command, args []string) { if len(args) != 1 { log.Fatal("Missing filename to process") } result, err := pan.Process(args) if err != nil { log.Fatal(err) } fmt.Println(result) }, }
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.