Skip to content

Commit

Permalink
BREAKING(aws): Remove aws subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
simar7 committed Jun 22, 2024
1 parent 648ead9 commit f9ea02b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pkg/commands/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ func NewApp() *cobra.Command {
NewKubernetesCommand(globalFlags),
NewSBOMCommand(globalFlags),
NewVersionCommand(globalFlags),
NewAWSCommand(),
NewVMCommand(globalFlags),
)

Expand Down Expand Up @@ -1014,14 +1013,6 @@ func NewKubernetesCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command {
return cmd
}

func NewAWSCommand() *cobra.Command {
cmd := &cobra.Command{
Deprecated: "Trivy AWS is now available as an optional plugin. See github.com/aquasecurity/trivy-aws for details",
Use: "aws [flags]",
}
return cmd
}

func NewVMCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command {
vmFlags := &flag.Flags{
GlobalFlagGroup: globalFlags,
Expand Down

0 comments on commit f9ea02b

Please sign in to comment.