Skip to content

Commit

Permalink
fix: formatting of the crawl command help
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabio committed Jun 3, 2024
1 parent bcf8f75 commit a8f0329
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/crawl.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ var crawlCmd = &cobra.Command{
Use: "crawl publishers.yml [directory/*.yml ...]",
Short: "Crawl publiccode.yml files in publishers' repos.",
Long: `Crawl publiccode.yml files in publishers' repos.
When run with no arguments, the publishers are fetched from the API,
otherwise the passed YAML files are used.`,
When run with no arguments, the publishers are fetched from the API,
otherwise the passed YAML files are used.`,

Args: cobra.MinimumNArgs(0),
Run: func(_ *cobra.Command, args []string) {
if token := viper.GetString("GITHUB_TOKEN"); token == "" {
Expand Down

0 comments on commit a8f0329

Please sign in to comment.