rest

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package rest was mostly inspired by github.com/spf13/cobra/doc but with some changes to match the expected formats and styles of our writers and tools.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlagUsages

func FlagUsages(f *pflag.FlagSet) string

func GenReSTCustom

func GenReSTCustom(cmd *cobra.Command, w io.Writer) error

GenReSTCustom creates custom reStructured Text output. Adapted from github.com/spf13/cobra/doc to match MongoDB tooling and style.

func GenReSTTree

func GenReSTTree(cmd *cobra.Command, dir string) error

GenReSTTree generates the docs for the full tree of commands.

Types

This section is empty.

Jump to

Keyboard shortcuts

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