17 lines
429 B
Go
17 lines
429 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// collectGithubCmd represents the collect github command
|
|
var collectGithubCmd = &cobra.Command{
|
|
Use: "github",
|
|
Short: "Collect a resource from GitHub.",
|
|
Long: `Collect a resource from a GitHub repository, such as a repository or a release.`,
|
|
}
|
|
|
|
// init registers the 'github' subcommand under the collect command.
|
|
func init() {
|
|
collectCmd.AddCommand(collectGithubCmd)
|
|
}
|