Documentation
¶
Index ¶
- func Execute(ctx context.Context) error
- func Init(ctx context.Context, parser *flags.Parser) error
- func InitDB(ctx context.Context, parser *flags.Parser) error
- func Register(ctx context.Context, parser *flags.Parser, cmds ...Subcommand) error
- func Run(_ context.Context, parser *flags.Parser) error
- func UnsafeResetAll(ctx context.Context, parser *flags.Parser) error
- type InitCmd
- type InitDBCmd
- type Start
- type Subcommand
- type UnsafeResetAllCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(ctx context.Context, parser *flags.Parser, cmds ...Subcommand) error
Register registers one or more subcommands.
func UnsafeResetAll ¶ added in v0.58.0
func UnsafeResetAll(ctx context.Context, parser *flags.Parser) error
Types ¶
type InitCmd ¶
type InitCmd struct {
config.VegaHomeFlag
Force bool `description:"Erase exiting blockexplorer configuration at the specified path" long:"force" short:"f"`
}
type Subcommand ¶
type Subcommand func(context.Context, *flags.Parser) error
Subcommand is the signature of a sub command that can be registered.
type UnsafeResetAllCmd ¶ added in v0.58.0
type UnsafeResetAllCmd struct {
config.VegaHomeFlag
}
Click to show internal directories.
Click to hide internal directories.