intake/cmd/source.go

24 lines
426 B
Go
Raw Permalink Normal View History

2025-01-21 16:42:59 +00:00
/*
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
*/
package cmd
import (
"github.com/spf13/cobra"
)
var sourceCmd = &cobra.Command{
Use: "source",
Short: "Manage sources",
2025-01-23 15:55:11 +00:00
Long: `Manage sources.
A source represents a single content feed that generates discrete feed items.
The command defined in the "fetch" action is used to check for new items to
update the feed.
2025-01-21 16:42:59 +00:00
`,
}
func init() {
rootCmd.AddCommand(sourceCmd)
}