laconicd-deprecated/cmd/ethermintd/flags.go
Federico Kunze Küllmer 09746c6a51
feat: import ethermint without forking (#378)
* cmd: cleanup

* update gh action

* lint

* more cleanup

* update config

* register denom
2021-07-28 05:47:29 -04:00

29 lines
403 B
Go

package main
import (
"fmt"
"github.com/spf13/cobra"
"github.com/tharsis/ethermint/version"
)
const (
flagLong = "long"
)
func init() {
infoCmd.Flags().Bool(flagLong, false, "Print full information")
}
var (
infoCmd = &cobra.Command{
Use: "info",
Short: "Print version info",
RunE: func(_ *cobra.Command, _ []string) error {
fmt.Println(version.Version())
return nil
},
}
)