Files
masonry/cmd/cli/cli.go
Mason Payne d36e1bfd86 add html and server interpreters
these are basic and lack most features.
the server seems to work the best.
the html on the other hand is really rough and doesn't seem to work yet.
but it does build the pages and they have all the shapes and sections we
wanted. More work to come. :)
2025-08-25 00:50:55 -06:00

43 lines
817 B
Go

package main
import (
"fmt"
"github.com/urfave/cli/v2"
"os"
)
func main() {
commands := []*cli.Command{
createCmd(),
generateCmd(),
webappCmd(),
tailwindCmd(),
setupCmd(),
vueGenCmd(),
serveCmd(), // New command for server interpreter
}
app := &cli.App{
Name: "Masonry",
Usage: "A CLI tool from building SAAS applications",
Version: "v1.0.0",
Description: "Masonry is a CLI tool for building SAAS applications",
Commands: commands,
Flags: nil,
Authors: []*cli.Author{
{
Name: "Mason Payne",
Email: "mason@masonitestudios.com",
},
},
Copyright: "2025 Masonite Studios LLC",
UseShortOptionHandling: true,
}
err := app.Run(os.Args)
if err != nil {
fmt.Println(fmt.Errorf("error running app | %w", err))
return
}
}