hint for running project
This commit is contained in:
@@ -2,6 +2,7 @@ package new
|
||||
|
||||
import (
|
||||
"fes/modules/config"
|
||||
"fes/modules/ui"
|
||||
"fmt"
|
||||
"os"
|
||||
"os/exec"
|
||||
@@ -114,5 +115,15 @@ All commands are run from the root of the project, from a terminal:
|
||||
## What to learn more?
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user