// Package commands contains functions that are exposed as dedicated commands of the tool. package commands import ( "fmt" "github.com/pushbits/cli/internal/buildconfig" "github.com/pushbits/cli/internal/options" ) // VersionCommand represents the options specific to the version command. type VersionCommand struct{} // Run is the function for the version command. func (*VersionCommand) Run(_ *options.Options) error { fmt.Printf("pbcli %s\n", buildconfig.Version) return nil }