Skip to content

Commit

Permalink
docs: add pkg flags to config file page (#7370)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen authored Aug 24, 2024
1 parent e9b43f8 commit 45a9627
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/docs/references/configuration/config-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,26 @@ module:
# Same as '--enable-modules'
enable-modules: []

```
## Package options

```yaml
pkg:
# Same as '--include-dev-deps'
include-dev-deps: false

# Same as '--pkg-relationships'
relationships:
- unknown
- root
- direct
- indirect

# Same as '--pkg-types'
types:
- os
- library

```
## Registry options

Expand Down
1 change: 1 addition & 0 deletions magefiles/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func generateConfigDocs(filename string) error {
flag.NewLicenseFlagGroup(),
flag.NewMisconfFlagGroup(),
flag.NewModuleFlagGroup(),
flag.NewPackageFlagGroup(),
flag.NewRegistryFlagGroup(),
flag.NewRegoFlagGroup(),
flag.NewReportFlagGroup(),
Expand Down

0 comments on commit 45a9627

Please sign in to comment.