package version

// These variables are populated by the build process using ldflags
var (
	// Version is the version of the application
	Version = "dev"
	// BuildTime is the time when the application was built
	BuildTime = "unknown"
	// GitCommit is the git commit hash when the application was built
	GitCommit = "unknown"
)

// GetVersionInfo returns a string with version information
func GetVersionInfo() string {
	return "VMBackupManager\n" +
		"Version: " + Version + "\n" +
		"Build Time: " + BuildTime + "\n" +
		"Git Commit: " + GitCommit
}
