hint for running project

This commit is contained in:
2025-12-31 12:16:59 -05:00
parent 4abf2969ca
commit 4eaead6abc

View File

@@ -2,6 +2,7 @@ package new
import ( import (
"fes/modules/config" "fes/modules/config"
"fes/modules/ui"
"fmt" "fmt"
"os" "os"
"os/exec" "os/exec"
@@ -114,5 +115,15 @@ All commands are run from the root of the project, from a terminal:
## What to learn more? ## What to learn more?
Check out [Fes's docs](https://docs.vxserver.dev/static/fes.html).`, "$$", "`"), dir, dir) Check out [Fes's docs](https://docs.vxserver.dev/static/fes.html).`, "$$", "`"), dir, dir)
ui.Hint("you can run this with `fes run %s`", dir)
fmt.Println("Created new Fes project at", func() string {
if res, err := filepath.Abs(dir); err == nil {
return res
}
return dir
}())
return nil return nil
} }