mirror of
https://github.com/mudler/luet.git
synced 2025-08-31 23:02:16 +00:00
Add version to CLI and write commit sha to release build
This commit is contained in:
@@ -29,11 +29,14 @@ import (
|
||||
var cfgFile string
|
||||
var Verbose bool
|
||||
|
||||
const LuetCLIVersion = "0.1-dev"
|
||||
|
||||
// RootCmd represents the base command when called without any subcommands
|
||||
var RootCmd = &cobra.Command{
|
||||
Use: "luet",
|
||||
Short: "Package manager for the XXth century!",
|
||||
Long: `Package manager which supports Gentoo and Entropy packages`,
|
||||
Use: "luet",
|
||||
Short: "Package manager for the XXth century!",
|
||||
Long: `Package manager which supports Gentoo and Entropy packages`,
|
||||
Version: LuetCLIVersion,
|
||||
}
|
||||
|
||||
// Execute adds all child commands to the root command sets flags appropriately.
|
||||
|
Reference in New Issue
Block a user