feat: generate a manual page automatically with cobra/doc (#2352)
Add a command line switch "--man-page" to print an automatically generated manual page to stdout. Co-authored-by: ChristopherHX <christopher.homberger@web.de>
This commit is contained in:
committed by
GitHub
parent
f75a2d8b38
commit
013c0d4e18
2
go.mod
2
go.mod
@@ -49,6 +49,7 @@ require (
|
||||
github.com/cloudflare/circl v1.3.7 // indirect
|
||||
github.com/containerd/containerd v1.7.13 // indirect
|
||||
github.com/containerd/log v0.1.0 // indirect
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
|
||||
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
|
||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||
github.com/distribution/reference v0.5.0 // indirect
|
||||
@@ -80,6 +81,7 @@ require (
|
||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||
github.com/rivo/uniseg v0.4.7 // indirect
|
||||
github.com/robfig/cron/v3 v3.0.1 // indirect
|
||||
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
||||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
|
||||
github.com/skeema/knownhosts v1.2.2 // indirect
|
||||
github.com/stretchr/objx v0.5.2 // indirect
|
||||
|
||||
Reference in New Issue
Block a user