Help us shape the future of Go! Take the 2026 Go Developer Survey

json

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetCmd

func NewGetCmd() *cobra.Command

NewGetCmd creates a new ssh command.

func NewJSONCmd

func NewJSONCmd(flags *flags.GlobalFlags) *cobra.Command

NewJSONCmd returns a new command.

Types

type GetCmd

type GetCmd struct {
	File string
	Fail bool
}

GetCmd retrieves a JSON value by path.

func (*GetCmd) Run

func (cmd *GetCmd) Run(ctx context.Context, args []string) error

Run executes the get command.

Jump to

Keyboard shortcuts

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