Documentation ¶
Overview ¶
Package gas_monetization implements executable entry points to the gas monetization app.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdConfig = cli.Command{ Name: "config", Usage: "Prints default config", Action: func(ctx *cli.Context) error { cfg := config.Load(ctx) enc := json.NewEncoder(ctx.App.Writer) enc.SetIndent("", " ") if err := enc.Encode(cfg); err != nil { return err } return nil }, }
View Source
var CmdRun = cli.Command{ Action: run, Name: "run", Usage: `Runs the gas monetization app.`, Flags: []cli.Flag{ &flags.Cfg, }, }
CmdRun defines a CLI command for running the gas monetization app.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.