tiny cleaning

This commit is contained in:
2023-04-17 05:25:15 -04:00
parent ec313ab3c3
commit 87210c951a

View File

@@ -49,7 +49,6 @@ type (
var (
infoFlag = flag.Bool("i", false, "Displays the program build information and exits.")
cloneGiteaFlag = flag.Bool("c", false, "Clone from gitea. scaffold expects it to be an empty repository")
giteaRepoFlag = flag.String("g", "", "Specifies a gitea repository to clone from rather than create")
sep = "/"
cfg_dir = "devel/scaffold" // relative to <USER_CONFIG_DIR>, on linux /home/user/.config
cfg_filename = "scaffold-cfg.toml"
@@ -72,10 +71,6 @@ func main() {
fmt.Printf("Built: %s\n", buildTime)
fmt.Printf("Running on a %s system.\n", runtime.GOOS)
fmt.Printf("Arg count: %+v\n", os.Args)
_ = isSSHAvailable()
fmt.Printf("Gitea repo: %s\n", *giteaRepoFlag)
at, err := availableProjectTypes(user_cfg_dir + sep + cfg_dir)
ifFerr("Unable to get available project types", err)