{"modulePath":"github.com/nmiyake/circleci-cli","version":"v0.1.4308","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package md_docs\n\n## Functions\n\n```go\nfunc FormatPositionalArg(cmd *cobra.Command, arg string) string\n```\nFormatPositionalArg will format the positional arguments of a command from it's annotations.\n\n```go\nfunc GenMarkdown(cmd *cobra.Command, w io.Writer) error\n```\nGenMarkdown creates markdown output.\n\n```go\nfunc GenMarkdownCustom(cmd *cobra.Command, w io.Writer, linkHandler func(string) string) error\n```\nGenMarkdownCustom creates custom markdown output.\n\n```go\nfunc GenMarkdownTree(cmd *cobra.Command, dir string) error\n```\nGenMarkdownTree will generate a markdown page for this command and all descendants in the directory given. The header may be nil. This function may not work correctly if your command names have \\`-\\` in them. If you have \\`cmd\\` with two subcmds, \\`sub\\` and \\`sub-third\\`, and \\`sub\\` has a subcommand called \\`third\\`, it is undefined which help output will be in the file \\`cmd-sub-third.1\\`.\n\n```go\nfunc GenMarkdownTreeCustom(cmd *cobra.Command, dir string, filePrepender, linkHandler func(string) string) error\n```\nGenMarkdownTreeCustom is the the same as GenMarkdownTree, but with custom filePrepender and linkHandler.\n\n```go\nfunc PositionalArgs(cmd *cobra.Command) []string\n```\nPositionalArgs returns a slice of the given command's positional arguments\n\n","path":"github.com/nmiyake/circleci-cli/md_docs","name":"md_docs","synopsis":"","isRedistributable":true}
