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(ctx 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
Types ¶
type InitCmd ¶
type InitCmd struct { config.VegaHomeFlag Force bool `short:"f" long:"force" description:"Erase exiting blockexplorer configuration at the specified path"` }
type InitDBCmd ¶ added in v0.58.0
type InitDBCmd struct {
config.VegaHomeFlag
}
type Subcommand ¶
Subcommand is the signature of a sub command that can be registered.
type UnsafeResetAllCmd ¶ added in v0.58.0
type UnsafeResetAllCmd struct {
config.VegaHomeFlag
}
func (*UnsafeResetAllCmd) Execute ¶ added in v0.58.0
func (opts *UnsafeResetAllCmd) Execute(_ []string) error
Click to show internal directories.
Click to hide internal directories.