Skip to content

Commit

Permalink
feat: add component completion to docs command
Browse files Browse the repository at this point in the history
  • Loading branch information
RoseSecurity committed Feb 24, 2025
1 parent 141c731 commit de9a4b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ var docsCmd = &cobra.Command{
Example: "atmos docs vpc",
Args: cobra.MaximumNArgs(1),
FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: false},
ValidArgsFunction: ComponentsArgCompletion,
Run: func(cmd *cobra.Command, args []string) {
if len(args) == 1 {
info := schema.ConfigAndStacksInfo{
Expand Down

0 comments on commit de9a4b3

Please sign in to comment.