Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/man/dev/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: Development Tools
command:
name: dev
hidden: true
---

Development mode is a primarily used to aid in the development of this CLI. There are other uses for
this command and exploration is encouraged.
this command and exploration is encouraged.
2 changes: 2 additions & 0 deletions pkg/man/man.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ func processDoc(doc string) (*Doc, error) {
Title string `yaml:"title"`
Command struct {
Name string `yaml:"name"`
Hidden bool `yaml:"hidden"`
Aliases []string `yaml:"aliases"`
Flags []DocFlag `yaml:"flags"`
} `yaml:"command"`
Expand All @@ -218,6 +219,7 @@ func processDoc(doc string) (*Doc, error) {
d := Doc{
cobra.Command{
Use: c.Name,
Hidden: c.Hidden,
Aliases: c.Aliases,
Short: matter.Title,
Long: styleDoc(long),
Expand Down