arguments

package
v0.0.0-...-fc75a81 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

type Flags struct {
	Address string
	Fqbn    string
}

Flags contains various common flags. This is useful so all flags used by commands that need this information are consistent with each other.

func (*Flags) AddToCommand

func (f *Flags) AddToCommand(cmd *cobra.Command)

AddToCommand adds the flags used to set address and fqbn to the specified Command

Jump to

Keyboard shortcuts

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