cmd

package
v0.0.0-...-8b192f2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: BlueOak-1.0.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShowNodeIDArgs

type ShowNodeIDArgs struct {
	HomeDir    string
	SeedConfig tenderseed.Config
}

ShowNodeIDArgs for the show-node-id command

func (*ShowNodeIDArgs) Execute

func (args *ShowNodeIDArgs) Execute(_ context.Context, flagSet *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute runs the command.

This file names no stack: the identity format and the key file both belong to the stack, so the whole decision sits behind NodeID.

func (*ShowNodeIDArgs) Name

func (*ShowNodeIDArgs) Name() string

Name returns the command name

func (*ShowNodeIDArgs) SetFlags

func (args *ShowNodeIDArgs) SetFlags(flagSet *flag.FlagSet)

SetFlags initializes any command flags

func (*ShowNodeIDArgs) Synopsis

func (*ShowNodeIDArgs) Synopsis() string

Synopsis returns a summary for the command

func (*ShowNodeIDArgs) Usage

func (*ShowNodeIDArgs) Usage() string

Usage returns full usage for the command

type StartArgs

type StartArgs struct {
	HomeDir    string
	SeedConfig tenderseed.Config
}

StartArgs for the start command

func (*StartArgs) Execute

func (args *StartArgs) Execute(_ context.Context, flagSet *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute runs the command.

This file names no stack. NewNode reads the configured one and hands back a Node; the logger, the transport and the signal handler all live behind that interface, because they are the parts the two stacks do not share.

func (*StartArgs) Name

func (*StartArgs) Name() string

Name returns the command name

func (*StartArgs) SetFlags

func (args *StartArgs) SetFlags(flagSet *flag.FlagSet)

SetFlags initializes any command flags

func (*StartArgs) Synopsis

func (*StartArgs) Synopsis() string

Synopsis returns a summary for the command

func (*StartArgs) Usage

func (*StartArgs) Usage() string

Usage returns full usage for the command

type VersionArgs

type VersionArgs struct{}

VersionArgs for the version command

func (*VersionArgs) Execute

func (args *VersionArgs) Execute(_ context.Context, flagSet *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute runs the command

func (*VersionArgs) Name

func (*VersionArgs) Name() string

Name returns the command name

func (*VersionArgs) SetFlags

func (args *VersionArgs) SetFlags(flagSet *flag.FlagSet)

SetFlags initializes any command flags

func (*VersionArgs) Synopsis

func (*VersionArgs) Synopsis() string

Synopsis returns a summary for the command

func (*VersionArgs) Usage

func (*VersionArgs) Usage() string

Usage returns full usage for the command

Jump to

Keyboard shortcuts

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