gfcmd

package
v2.0.0-...-9971990 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	*gcmd.Command
}

Command manages the CLI command of `gf`. This struct can be globally accessible and extended with custom struct.

func GetCommand

func GetCommand(ctx context.Context) (*Command, error)

GetCommand retrieves and returns the root command of CLI `gf`.

func (*Command) Run

func (c *Command) Run(ctx context.Context)

Run starts running the command according the command line arguments and options.

Jump to

Keyboard shortcuts

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