docs

package
v0.4.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package docs contains the logic that handle the docs command in liqoctl

Index

Constants

View Source
const (
	// ShortHelp contains the short help string for liqoctl docs command.
	ShortHelp = "Generate documentation as markdown"
	// LongHelp contains the Long help string for liqoctl docs command.
	LongHelp = `` /* 178-byte string literal not displayed */

	// UseCommand contains the name of the command.
	UseCommand = "docs"
	// OutputDir contains the name of dir flag.
	OutputDir = "dir"
	// DocType contains the name of type flag.
	DocType = "type"
	// GenerateHeaders contains the name of generate-headers.
	GenerateHeaders = "generate-headers"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Dest            string
	DocTypeString   string
	TopCmd          *cobra.Command
	GenerateHeaders bool
}

Args holds the necessary flags for the docs command.

func (*Args) Handler

func (o *Args) Handler(ctx context.Context) error

Handler implement the logic of the docs command.

Jump to

Keyboard shortcuts

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