func CheckDerrickFirstSetup() (bool, error) {
	derrickHome, err := GetDerrickHome()
	if err != nil {
		return true, fmt.Errorf("failed to get Derrick home, err: %s", err)
	}
	riggingHome, err := GetRiggingHome()
	if err != nil {
		return true, fmt.Errorf("failed to get Rigging home, err: %s", err)
	}
	commandsHome, err := GetCommandsHome()
	if err != nil {
		return true, fmt.Errorf("failed to get CommandsHome home, err: %s", err)
	}
	if _, err := os.Stat(derrickHome); err != nil {
		return true, err
	}
	if _, err := os.Stat(riggingHome); err != nil {
		return true, err
	}
	if _, err := os.Stat(commandsHome); err != nil {
		return true, err
	}
	return false, nil
}
CheckDerrickFirstSetup checks if derrick is used for the first time
package common
import (
	"fmt"
	"io"
	"os"
	"os/exec"
	"path/filepath"
)
const (
	DerrickHome    = ".derrick"
	DerrickHomeEnv = "DERRICK_HOME"
	DerrickLogo    = `
8888888b.                       d8b        888
888  "Y88b                      Y8P        888
888    888                                 888
888    888 .d88b. 888d888888d888888 .d8888b888  888
888    888d8P  Y8b888P"  888P"  888d88P"   888 .88P
888    88888888888888    888    888888     888888K
888  .d88PY8b.    888    888    888Y88b.   888 "88b
8888888P"  "Y8888 888    888    888 "Y8888P888  888
===================================================
Derrick is a scaffold tool to migrate applications
You can use Derrick to migrate your project simply.
===================================================
`
	DerrickConf = "derrick.json"
)
const (
	Dockerfile           = "Dockerfile"
	KubernetesDeployment = "kubernetes-deployment.yaml"
)
func GetDerrickHome() (string, error) {
	if custom := os.Getenv(DerrickHomeEnv); custom != "" {
		return custom, nil
	}
	home, err := os.UserHomeDir()
	if err != nil {
		return "", err
	}
	return filepath.Join(home, DerrickHome), nil
}