Movatterモバイル変換


[0]ホーム

URL:


cli

package
v0.20.0Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2025 License:MITImports:18Imported by:0

Details

Repository

github.com/terraform-docs/terraform-docs

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcAnnotations

func Annotations(cmdstring) map[string]string

Annotations returns set of annotations for cobra.Commands,specifically the command 'name' and command 'kind'

Types

typeRuntimeadded inv0.15.0

type Runtime struct {// contains filtered or unexported fields}

Runtime represents the execution runtime for CLI.

funcNewRuntimeadded inv0.15.0

func NewRuntime(config *print.Config) *Runtime

NewRuntime returns new instance of Runtime. If `config` is not provideddefault config will be used.

func (*Runtime)PreRunEFuncadded inv0.15.0

func (r *Runtime) PreRunEFunc(cmd *cobra.Command, args []string)error

PreRunEFunc is the 'cobra.Command#PreRunE' function for 'formatter'commands. This function reads and normalizes flags and arguments passedthrough CLI execution.

func (*Runtime)RunEFuncadded inv0.15.0

func (r *Runtime) RunEFunc(cmd *cobra.Command, args []string)error

RunEFunc is the 'cobra.Command#RunE' function for 'formatter' commands. It attemptsto discover submodules, on `--recursive` flag, and generates the content for themas well as the root module.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp