commands

package
v3.23.2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const MDDocFrontmatterTemplate = `---
title: "%s"
slug: %s
---

`

Variables

This section is empty.

Functions

func Complete added in v3.9.0

func Complete() *cobra.Command

Complete returns the auto-complete command

func Config

func Config(mgr *config.Manager) *cobra.Command

Config returns a command that prints the current configuration in the config manager.

func GenJSONTree added in v3.15.2

func GenJSONTree(root *cobra.Command) *cobra.Command

GenTree generates a JSON tree for the given root command

func GenMDDoc

func GenMDDoc(root *cobra.Command) *cobra.Command

GenMDDoc generates markdown documentation for the given root command.

func GenManPages

func GenManPages(root *cobra.Command) *cobra.Command

GenManPages generates man pages for the given root command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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