Skip to content

Commit

Permalink
Added short text for all commands
Browse files Browse the repository at this point in the history
  • Loading branch information
garethr committed May 8, 2023
1 parent ad60fdc commit af97489
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions internal/commands/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import (
func NewDefaultCommand() *cobra.Command {
cmd := cobra.Command{
Use: "parlay",
Short: "",
Long: ``,
Short: "Enrich an SBOM with context from third party services",
SilenceUsage: true,
DisableFlagsInUseLine: true,
Run: func(cmd *cobra.Command, args []string) {
Expand Down
3 changes: 1 addition & 2 deletions internal/commands/ecosystems/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import (
func NewEcosystemsRootCommand(logger zerolog.Logger) *cobra.Command {
cmd := cobra.Command{
Use: "ecosystems",
Short: "",
Long: ``,
Short: "Commands for using parlay with ecosystem.ms",
Aliases: []string{"e"},
DisableFlagsInUseLine: true,
SilenceUsage: true,
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/snyk/packages.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

func NewPackageCommand(logger zerolog.Logger) *cobra.Command {
cmd := cobra.Command{
Use: "package <purl> ",
Use: "package <purl>",
Short: "Return package vulnerabilities from Snyk",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
Expand Down
3 changes: 1 addition & 2 deletions internal/commands/snyk/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import (
func NewSnykRootCommand(logger zerolog.Logger) *cobra.Command {
cmd := cobra.Command{
Use: "snyk",
Short: "",
Long: ``,
Short: "Commands for using parlay with Snyk",
Aliases: []string{"s"},
DisableFlagsInUseLine: true,
SilenceUsage: true,
Expand Down

0 comments on commit af97489

Please sign in to comment.