Add default command back in

This commit is contained in:
2022-11-29 10:23:42 +01:00
parent 8433170681
commit 427e287895
3 changed files with 21 additions and 3 deletions

View File

@ -9,7 +9,12 @@ import (
)
func buildAction(ctx *cli.Context) error {
cfgPath := ctx.String("c")
cfgPath, err := filepath.Abs(ctx.String("c"))
if err != nil {
return err
}
os.Chdir(filepath.Dir(cfgPath))
opts := readCfg(cfgPath)