fix: remove paring semver
This commit is contained in:
@ -14,19 +14,18 @@ import (
|
||||
"git.cryptic.systems/volker.raschek/flucky/cli/sensor"
|
||||
"git.cryptic.systems/volker.raschek/flucky/cli/temperature"
|
||||
"git.cryptic.systems/volker.raschek/flucky/pkg/config"
|
||||
"github.com/Masterminds/semver"
|
||||
|
||||
uuid "github.com/satori/go.uuid"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
// Execute a
|
||||
func Execute(version *semver.Version) error {
|
||||
func Execute(version string) error {
|
||||
|
||||
rootCmd := &cobra.Command{
|
||||
Use: "flucky",
|
||||
PersistentPreRunE: preRunError,
|
||||
Version: version.String(),
|
||||
Version: version,
|
||||
}
|
||||
|
||||
defaultConfigFile, err := getDefaultConfigFile()
|
||||
|
Reference in New Issue
Block a user