initial attempt at building Masonry

This commit is contained in:
2025-02-12 22:14:44 -07:00
commit e34da045bc
12 changed files with 187 additions and 0 deletions

34
cmd/cli/cli.go Normal file
View File

@ -0,0 +1,34 @@
package main
import (
"fmt"
"github.com/urfave/cli/v2"
"os"
)
func main() {
commands := []*cli.Command{}
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
}
}