func Set(n, v, t string) {
	name = n
	buildTime = t
	commit = v
}
Set updates the Version and ReleaseDate
package config
import (
	"fmt"
	"log"
	"os"
	"os/user"
	"path/filepath"
	"runtime"
	"strings"
	"time"
)
var (
	name      = "Smallstep CLI"
	buildTime = "N/A"
	commit    = "N/A"
)
const StepPathEnv = "STEPPATH"
const HomeEnv = "HOME"
var stepPath string
var homePath string
func StepPath() string {
	return stepPath
}
func Home() string {
	return homePath
}
func StepAbs(path string) string {
	if filepath.IsAbs(path) {
		return path
	}
	slashed := filepath.ToSlash(path)
	switch {
	case strings.HasPrefix(slashed, "~/"):
		return filepath.Join(homePath, path[2:])
	case strings.HasPrefix(slashed, "./"), strings.HasPrefix(slashed, "../"):
		if abs, err := filepath.Abs(path); err == nil {
			return abs
		}
		return path
	default:
		return filepath.Join(stepPath, path)
	}
}
func init() {
	l := log.New(os.Stderr, "", 0)
	homePath = os.Getenv(HomeEnv)
	if homePath == "" {
		usr, err := user.Current()
		if err == nil && usr.HomeDir != "" {
			homePath = usr.HomeDir
		} else {
			l.Fatalf("Error obtaining home directory, please define environment variable %s.", HomeEnv)
		}
	}
	stepPath = os.Getenv(StepPathEnv)
	if stepPath == "" {
		stepPath = filepath.Join(homePath, ".step")
	}
	if fi, err := os.Stat(stepPath); err != nil {
		os.MkdirAll(stepPath, 0700)
	} else if !fi.IsDir() {
		l.Fatalf("File '%s' is not a directory.", stepPath)
	}
	homePath = filepath.Clean(homePath)
	stepPath = filepath.Clean(stepPath)
}