docs

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:    "docs",
	Short:  "Generates documentation files",
	Hidden: true,
	RunE:   Run,
}

Cmd represents the Cobra command for generating documentation files.

Functions

func CreateDir

func CreateDir(dirPath string) error

CreateDir creates a directory if it doesn't already exist.

func Run

func Run(cmd *cobra.Command, _ []string) (err error)

Run is the function executed when the Cobra command is run. It generates the documentation files.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL