mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-10 05:02:36 +08:00
Update docs text
This commit is contained in:
parent
25cccc32db
commit
b0ac644e9b
@ -30,6 +30,7 @@ func init() {
|
|||||||
func main() {
|
func main() {
|
||||||
app := clir.NewCli("wails", "The Wails3 CLI", "v3")
|
app := clir.NewCli("wails", "The Wails3 CLI", "v3")
|
||||||
app.NewSubCommand("docs", "Open the docs").Action(openDocs)
|
app.NewSubCommand("docs", "Open the docs").Action(openDocs)
|
||||||
|
app.NewSubCommand("interactive", "Run in interactive mode").Action(interactive)
|
||||||
app.NewSubCommandFunction("init", "Initialise a new project", commands.Init)
|
app.NewSubCommandFunction("init", "Initialise a new project", commands.Init)
|
||||||
app.NewSubCommandFunction("build", "Build the project", commands.Build)
|
app.NewSubCommandFunction("build", "Build the project", commands.Build)
|
||||||
app.NewSubCommandFunction("dev", "Run in Dev mode", commands.Dev)
|
app.NewSubCommandFunction("dev", "Run in Dev mode", commands.Dev)
|
||||||
@ -78,7 +79,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func printFooter() {
|
func printFooter() {
|
||||||
pterm.Println(pterm.LightGreen("\nDon't know what to do next? Run: ") + pterm.LightYellow("wails3 docs\n"))
|
pterm.Println(pterm.LightGreen("\nNeed documentation? Run: ") + pterm.LightYellow("wails3 docs\n"))
|
||||||
// Check if we're in a teminal
|
// Check if we're in a teminal
|
||||||
printer := pterm.PrefixPrinter{
|
printer := pterm.PrefixPrinter{
|
||||||
MessageStyle: pterm.NewStyle(pterm.FgLightGreen),
|
MessageStyle: pterm.NewStyle(pterm.FgLightGreen),
|
||||||
|
Loading…
Reference in New Issue
Block a user