printnodes

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: BSD-3-Clause Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

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

Command is the implementation of `commands.Command`.

func (Command) Description

func (cmd Command) Description() string

Description explains what this verb commands to do

func (Command) Execute

func (cmd Command) Execute(args []string)

Execute is the main function here. It is responsible to start the execution of the command.

`args` are the arguments left unused by verb itself and options.

func (*Command) SetupFlagSet

func (cmd *Command) SetupFlagSet(flag *flag.FlagSet)

SetupFlagSet is called to allow the command implementation to setup which option flags it has.

func (Command) Usage

func (cmd Command) Usage() string

Usage prints the syntax of arguments for this command

Jump to

Keyboard shortcuts

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