Skip to content

Commit

Permalink
chore: always show aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
cfabianski committed Dec 21, 2023
1 parent 785ed46 commit fe3c488
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/_data/bearer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ see_also:
- bearer init - Generates a default config to `bearer.yml`
- bearer scan - Scan a directory or file
- bearer version - Print the version
aliases: []
1 change: 1 addition & 0 deletions docs/_data/bearer_completion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ options:
usage: help for completion
see_also:
- "bearer - "
aliases: []
1 change: 1 addition & 0 deletions docs/_data/bearer_ignore_add.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ example: |-
$ bearer ignore add <fingerprint> --author Mish --comment "Possible false positive"
see_also:
- bearer ignore - Manage ignored fingerprints
aliases: []
1 change: 1 addition & 0 deletions docs/_data/bearer_ignore_migrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ example: |-
$ bearer ignore migrate
see_also:
- bearer ignore - Manage ignored fingerprints
aliases: []
1 change: 1 addition & 0 deletions docs/_data/bearer_ignore_pull.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ example: |-
$ bearer ignore pull /path/to/your_project --api-key=XXXXX
see_also:
- bearer ignore - Manage ignored fingerprints
aliases: []
1 change: 1 addition & 0 deletions docs/_data/bearer_ignore_remove.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ example: |-
$ bearer ignore remove <fingerprint>
see_also:
- bearer ignore - Manage ignored fingerprints
aliases: []
1 change: 1 addition & 0 deletions docs/_data/bearer_ignore_show.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ example: |-
$ bearer ignore show <fingerprint>
see_also:
- bearer ignore - Manage ignored fingerprints
aliases: []
1 change: 1 addition & 0 deletions docs/_data/bearer_init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ options:
usage: help for init
see_also:
- "bearer - "
aliases: []
1 change: 1 addition & 0 deletions docs/_data/bearer_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ options:
- BEARER_NO_COLOR
see_also:
- "bearer - "
aliases: []
2 changes: 1 addition & 1 deletion scripts/gen-doc-yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type cmdDoc struct {
InheritedOptions []cmdOption `yaml:"inherited_options,omitempty"`
Example string `yaml:",omitempty"`
SeeAlso []string `yaml:"see_also,omitempty"`
Aliases []string `yaml:"aliases,omitempty"`
Aliases []string `yaml:"aliases"`
}

var (
Expand Down

0 comments on commit fe3c488

Please sign in to comment.