Documentation
¶
Index ¶
- func Auth(args []string) error
- func AuthConfirm(args []string, dbPath string) error
- func AuthList(args []string, dbPath string) error
- func AuthManage(args []string) error
- func Authz(args []string) error
- func Component(args []string) error
- func ComponentEject(args []string) error
- func ComponentEjectTemplate(args []string) error
- func ComponentList(args []string) error
- func Console(args []string) error
- func Env(args []string) error
- func EnvGenerate(args []string) error
- func EnvList(args []string) error
- func EnvSet(args []string) error
- func EnvUnset(args []string) error
- func EnvValidate(args []string) error
- func Gen(args []string) error
- func GenAPI(args []string) error
- func GenJob(args []string) error
- func GenQueue(args []string) error
- func GenResource(args []string) error
- func GenSchema(args []string) error
- func GenStack(args []string) error
- func GenTask(args []string) error
- func GenView(args []string) error
- func InstallAgent(args []string) error
- func Kits(args []string) error
- func Migration(args []string) error
- func New(args []string) error
- func NewComponent(args []string) error
- func Parse(args []string) error
- func Resource(args []string) error
- func Seed(args []string) error
- func Serve(args []string) error
- func ShowHelpIfRequested(args []string, helpFunc func()) bool
- func Stack(args []string) error
- func StackInfo(args []string) error
- func StackValidate(args []string) error
- func Styles(args []string) error
- func ValidatePositionalArg(arg, argName string) error
- type AgentConfig
- type AuthFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthConfirm ¶
AuthConfirm confirms a user's email in the database
func AuthManage ¶
AuthManage handles auth management subcommands (confirm, list, etc.)
func ComponentEject ¶
ComponentEject handles the `lvt component eject` command.
func ComponentEjectTemplate ¶
ComponentEjectTemplate handles the `lvt component eject-template` command.
func ComponentList ¶
ComponentList lists available components from the library.
func EnvGenerate ¶
EnvGenerate generates a .env.example file based on the app structure
func EnvValidate ¶
EnvValidate validates that all required environment variables are set
func GenResource ¶
func InstallAgent ¶
InstallAgent installs an AI agent into the current project
func NewComponent ¶
NewComponent handles the `lvt new component` command.
func ShowHelpIfRequested ¶
ShowHelpIfRequested checks if args contain --help or -h flags. If found, it calls the provided help function and returns true. Callers should return early when this returns true.
func StackValidate ¶
func ValidatePositionalArg ¶
ValidatePositionalArg ensures a positional argument doesn't look like a flag. Returns an error if the argument starts with "-" (likely a typo or unknown flag).