laconicd-deprecated/cmd/ethermintd/flags.go
Federico Kunze Küllmer 9077172f8e
feat(ci): add Golang dependency vulnerability check (#1528)
* feat(ci): add Golang dependency vulnerability check

* update

* check run

* c++
2022-12-02 12:57:14 +00:00

25 lines
384 B
Go

package main
import (
"fmt"
"github.com/spf13/cobra"
"github.com/evmos/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
},
}