Versions in this module Expand all Collapse all v0 v0.1.0 Oct 25, 2025 Changes in this version + const ErrCodeAlreadyExists + const ErrCodeAuthentication + const ErrCodeAuthorization + const ErrCodeConfiguration + const ErrCodeDatabase + const ErrCodeDependency + const ErrCodeFileNotFound + const ErrCodeGeneral + const ErrCodeInternal + const ErrCodeInvalidArgument + const ErrCodeInvalidCommand + const ErrCodeInvalidFlag + const ErrCodeInvalidOperation + const ErrCodeMissingArgument + const ErrCodeMissingFlag + const ErrCodeNetwork + const ErrCodeNotFound + const ErrCodePermissionDenied + const ErrCodeSuccess + const ErrCodeTimeout + const ErrCodeValidation + var Email = func(value string) error + var EmailPattern = ValidationRule + var ErrAlreadyExists = NewCLIError(ErrCodeAlreadyExists, "resource already exists", nil) + var ErrAuthentication = NewCLIError(ErrCodeAuthentication, "authentication error", nil) + var ErrAuthorization = NewCLIError(ErrCodeAuthorization, "authorization error", nil) + var ErrConfiguration = NewCLIError(ErrCodeConfiguration, "configuration error", nil) + var ErrDatabase = NewCLIError(ErrCodeDatabase, "database error", nil) + var ErrDependency = NewCLIError(ErrCodeDependency, "dependency error", nil) + var ErrFileNotFound = NewCLIError(ErrCodeFileNotFound, "file not found", nil) + var ErrInternal = NewCLIError(ErrCodeInternal, "internal error", nil) + var ErrInvalidArgument = NewCLIError(ErrCodeInvalidArgument, "invalid argument", nil) + var ErrInvalidCommand = NewCLIError(ErrCodeInvalidCommand, "invalid command", nil) + var ErrInvalidFlag = NewCLIError(ErrCodeInvalidFlag, "invalid flag", nil) + var ErrInvalidOperation = NewCLIError(ErrCodeInvalidOperation, "invalid operation", nil) + var ErrMissingArgument = NewCLIError(ErrCodeMissingArgument, "missing required argument", nil) + var ErrMissingFlag = NewCLIError(ErrCodeMissingFlag, "missing required flag", nil) + var ErrNetwork = NewCLIError(ErrCodeNetwork, "network error", nil) + var ErrNotFound = NewCLIError(ErrCodeNotFound, "resource not found", nil) + var ErrPermissionDenied = NewCLIError(ErrCodePermissionDenied, "permission denied", nil) + var ErrTimeout = NewCLIError(ErrCodeTimeout, "operation timeout", nil) + var ErrValidation = NewCLIError(ErrCodeValidation, "validation error", nil) + var MaxInt = func(max int) ValidationRule + var MaxLength = func(max int) func(string) error + var MaxString = func(max int) ValidationRule + var MinInt = func(min int) ValidationRule + var MinLength = func(min int) func(string) error + var MinMaxInt = func(min, max int) ValidationRule + var MinMaxLength = func(min, max int) func(string) error + var MinMaxString = func(min, max int) ValidationRule + var MinString = func(min int) ValidationRule + var OptionalBool = ValidationRule + var OptionalInt = ValidationRule + var OptionalString = ValidationRule + var Required = func(field string) func(string) error + var RequiredBool = ValidationRule + var RequiredInt = ValidationRule + var RequiredString = ValidationRule + var URL = func(value string) error + var URLPattern = ValidationRule + func Confirm(message string) bool + func GetAllCommands() []*cli.Command + func GetEnvironment() string + func GetProjectName() string + func GetProjectRoot() string + func GraphQLCommands() []*cli.Command + func IsDevelopment() bool + func IsProduction() bool + func IsStaging() bool + func IsTesting() bool + func PrintError(message string) + func PrintInfo(message string) + func PrintSuccess(message string) + func PrintTable(headers []string, rows [][]string) + func PrintWarning(message string) + func RegisterCommand(cmd *cli.Command) + type App struct + func NewApp() *App + func (a *App) Run(arguments []string) error + func (a *App) RunWithContext(ctx *cli.Context, arguments []string) error + type AuthCommands struct + func NewAuthCommands() *AuthCommands + func (ac *AuthCommands) AssignPermission(ctx *cli.Context) error + func (ac *AuthCommands) AssignRole(ctx *cli.Context) error + func (ac *AuthCommands) CreateSuperUser(ctx *cli.Context) error + func (ac *AuthCommands) ListPermissions(ctx *cli.Context) error + func (ac *AuthCommands) ListRoles(ctx *cli.Context) error + func (ac *AuthCommands) ListUsers(ctx *cli.Context) error + func (ac *AuthCommands) MakeAuth(ctx *cli.Context) error + func (ac *AuthCommands) MakePermission(ctx *cli.Context) error + func (ac *AuthCommands) MakeRole(ctx *cli.Context) error + func (ac *AuthCommands) Register() + func (ac *AuthCommands) RevokePermission(ctx *cli.Context) error + func (ac *AuthCommands) RevokeRole(ctx *cli.Context) error + type CLIError struct + Code int + Err error + Message string + func NewCLIError(code int, message string, err error) *CLIError + func (e *CLIError) Error() string + func (e *CLIError) ExitCode() int + func (e *CLIError) Unwrap() error + type CPUUsage struct + Cores int + LoadAverage float64 + Usage float64 + type CommandBuilder struct + func NewCommand(name, usage string) *CommandBuilder + func (cb *CommandBuilder) Action(action cli.ActionFunc) *CommandBuilder + func (cb *CommandBuilder) BoolFlag(name, usage string) *CommandBuilder + func (cb *CommandBuilder) Build() *cli.Command + func (cb *CommandBuilder) Category(category string) *CommandBuilder + func (cb *CommandBuilder) Description(description string) *CommandBuilder + func (cb *CommandBuilder) Flag(flag cli.Flag) *CommandBuilder + func (cb *CommandBuilder) IntFlag(name string, value int, usage string) *CommandBuilder + func (cb *CommandBuilder) Register() *CommandBuilder + func (cb *CommandBuilder) StringFlag(name, value, usage string) *CommandBuilder + func (cb *CommandBuilder) StringSliceFlag(name, usage string) *CommandBuilder + type CommandContext struct + App *cli.App + Args []string + Ctx *cli.Context + func NewCommandContext(app *cli.App, ctx *cli.Context) *CommandContext + func (cc *CommandContext) Confirm(message string) bool + func (cc *CommandContext) CreateDirectory(path string) error + func (cc *CommandContext) DirectoryExists(path string) bool + func (cc *CommandContext) FileExists(path string) bool + func (cc *CommandContext) GetBoolFlag(name string) bool + func (cc *CommandContext) GetIntFlag(name string) int + func (cc *CommandContext) GetStringArg(index int) string + func (cc *CommandContext) GetStringFlag(name string) string + func (cc *CommandContext) PrintError(message string) + func (cc *CommandContext) PrintInfo(message string) + func (cc *CommandContext) PrintSuccess(message string) + func (cc *CommandContext) PrintTable(headers []string, rows [][]string) + func (cc *CommandContext) PrintWarning(message string) + func (cc *CommandContext) ReadFile(path string) (string, error) + func (cc *CommandContext) WriteFile(path string, content interface{}) error + type CommandRegistry struct + type Config struct + Authors []*cli.Author + Commands []*cli.Command + Description string + Flags []cli.Flag + Name string + Usage string + Version string + type DatabaseCommands struct + func NewDatabaseCommands() *DatabaseCommands + func (dc *DatabaseCommands) DatabaseBackup(ctx *cli.Context) error + func (dc *DatabaseCommands) DatabaseRestore(ctx *cli.Context) error + func (dc *DatabaseCommands) DatabaseSeed(ctx *cli.Context) error + func (dc *DatabaseCommands) DatabaseTest(ctx *cli.Context) error + func (dc *DatabaseCommands) DatabaseWipe(ctx *cli.Context) error + func (dc *DatabaseCommands) MakeMigration(ctx *cli.Context) error + func (dc *DatabaseCommands) MakeSeeder(ctx *cli.Context) error + func (dc *DatabaseCommands) Migrate(ctx *cli.Context) error + func (dc *DatabaseCommands) MigrateFresh(ctx *cli.Context) error + func (dc *DatabaseCommands) MigrateRefresh(ctx *cli.Context) error + func (dc *DatabaseCommands) MigrateReset(ctx *cli.Context) error + func (dc *DatabaseCommands) MigrateRollback(ctx *cli.Context) error + func (dc *DatabaseCommands) MigrateStatus(ctx *cli.Context) error + func (dc *DatabaseCommands) Register() + type DatabaseValidator struct + func NewDatabaseValidator() *DatabaseValidator + func (dv *DatabaseValidator) ValidateConnectionString(driver, dsn string) error + func (dv *DatabaseValidator) ValidateMigrationName(name string) error + type DevelopmentCommands struct + func NewDevelopmentCommands() *DevelopmentCommands + func (dc *DevelopmentCommands) ConfigCache(ctx *cli.Context) error + func (dc *DevelopmentCommands) ConfigClear(ctx *cli.Context) error + func (dc *DevelopmentCommands) ConfigShow(ctx *cli.Context) error + func (dc *DevelopmentCommands) EnvGet(ctx *cli.Context) error + func (dc *DevelopmentCommands) EnvSet(ctx *cli.Context) error + func (dc *DevelopmentCommands) Format(ctx *cli.Context) error + func (dc *DevelopmentCommands) KeyGenerate(ctx *cli.Context) error + func (dc *DevelopmentCommands) Lint(ctx *cli.Context) error + func (dc *DevelopmentCommands) ListRoutes(ctx *cli.Context) error + func (dc *DevelopmentCommands) QueueFailed(ctx *cli.Context) error + func (dc *DevelopmentCommands) QueueFlush(ctx *cli.Context) error + func (dc *DevelopmentCommands) QueueMonitor(ctx *cli.Context) error + func (dc *DevelopmentCommands) QueueRetry(ctx *cli.Context) error + func (dc *DevelopmentCommands) QueueRetryAll(ctx *cli.Context) error + func (dc *DevelopmentCommands) QueueWork(ctx *cli.Context) error + func (dc *DevelopmentCommands) Register() + func (dc *DevelopmentCommands) ScheduleList(ctx *cli.Context) error + func (dc *DevelopmentCommands) ScheduleRun(ctx *cli.Context) error + func (dc *DevelopmentCommands) Serve(ctx *cli.Context) error + func (dc *DevelopmentCommands) StorageLink(ctx *cli.Context) error + func (dc *DevelopmentCommands) Test(ctx *cli.Context) error + func (dc *DevelopmentCommands) Tinker(ctx *cli.Context) error + type DiskUsage struct + Free string + Total string + Usage float64 + Used string + type ErrorContext struct + Arguments []string + Command string + Flags map[string]interface{} + func NewErrorContext(command string, arguments []string, flags map[string]interface{}) *ErrorContext + func (ec *ErrorContext) AddErrorContext(err error) error + type ErrorFormatter struct + func NewErrorFormatter(colors bool) *ErrorFormatter + func (ef *ErrorFormatter) FormatError(err error) string + func (ef *ErrorFormatter) FormatInfo(message string) string + func (ef *ErrorFormatter) FormatSuccess(message string) string + func (ef *ErrorFormatter) FormatWarning(message string) string + type ErrorHandler struct + func NewErrorHandler(verbose bool) *ErrorHandler + func (eh *ErrorHandler) Handle(err error) + type ErrorLogger struct + func NewErrorLogger(verbose bool) *ErrorLogger + func (el *ErrorLogger) LogError(err error) + func (el *ErrorLogger) LogInfo(message string) + func (el *ErrorLogger) LogWarning(message string) + type ErrorRecovery struct + func NewErrorRecovery(verbose bool) *ErrorRecovery + func (er *ErrorRecovery) HandleError(err error) + func (er *ErrorRecovery) Recover() + type ErrorValidation struct + func NewErrorValidation() *ErrorValidation + func (ev *ErrorValidation) AddError(field, message string) + func (ev *ErrorValidation) Error() string + func (ev *ErrorValidation) GetErrors() map[string][]string + func (ev *ErrorValidation) HasErrors() bool + func (ev *ErrorValidation) ToCLIError() *CLIError + type FailedJob struct + Error string + FailedAt string + ID string + Job string + Queue string + type FileValidator struct + func NewFileValidator() *FileValidator + func (fv *FileValidator) ValidateDirectory(path string) error + func (fv *FileValidator) ValidateFile(path string) error + func (fv *FileValidator) ValidateFileExtension(path string, allowedExtensions []string) error + func (fv *FileValidator) ValidateFileSize(path string, maxSize int64) error + type HealthStatus struct + Components map[string]string + Status string + Uptime string + Version string + type InputHelper struct + func NewInputHelper() *InputHelper + func (ih *InputHelper) ReadValidatedInt(field, prompt string, validators ...func(int) error) (int, error) + func (ih *InputHelper) ReadValidatedIntWithDefault(field, prompt string, defaultValue int, validators ...func(int) error) (int, error) + func (ih *InputHelper) ReadValidatedString(field, prompt string, validators ...func(string) error) (string, error) + func (ih *InputHelper) ReadValidatedStringWithDefault(field, prompt, defaultValue string, validators ...func(string) error) (string, error) + type InputProvider struct + func NewInputProvider() *InputProvider + func (ip *InputProvider) Confirm(message string) (bool, error) + func (ip *InputProvider) ConfirmWithDefault(message string, defaultValue bool) (bool, error) + func (ip *InputProvider) ReadBool(prompt string) (bool, error) + func (ip *InputProvider) ReadBoolWithDefault(prompt string, defaultValue bool) (bool, error) + func (ip *InputProvider) ReadChoice(prompt string, choices []string) (string, error) + func (ip *InputProvider) ReadChoiceWithDefault(prompt string, choices []string, defaultValue string) (string, error) + func (ip *InputProvider) ReadInt(prompt string) (int, error) + func (ip *InputProvider) ReadIntWithDefault(prompt string, defaultValue int) (int, error) + func (ip *InputProvider) ReadMultiLine(prompt string, terminator string) (string, error) + func (ip *InputProvider) ReadPassword(prompt string) (string, error) + func (ip *InputProvider) ReadString(prompt string) (string, error) + func (ip *InputProvider) ReadStringWithDefault(prompt, defaultValue string) (string, error) + type InputValidator struct + func NewInputValidator() *InputValidator + func (iv *InputValidator) AddValidator(field string, validator func(string) error) + func (iv *InputValidator) Validate(field, value string) error + type LogLevel int + const LogLevelDebug + const LogLevelError + const LogLevelFatal + const LogLevelInfo + const LogLevelWarning + func (ll LogLevel) Color() string + func (ll LogLevel) String() string + type Logger struct + func NewLogger() *Logger + func (l *Logger) Close() error + func (l *Logger) Debug(message string) + func (l *Logger) Debugf(format string, args ...interface{}) + func (l *Logger) Error(message string) + func (l *Logger) Errorf(format string, args ...interface{}) + func (l *Logger) Fatal(message string) + func (l *Logger) Fatalf(format string, args ...interface{}) + func (l *Logger) Info(message string) + func (l *Logger) Infof(format string, args ...interface{}) + func (l *Logger) SetColors(colors bool) + func (l *Logger) SetLevel(level LogLevel) + func (l *Logger) SetLogFile(logFile string) error + func (l *Logger) SetVerbose(verbose bool) + func (l *Logger) SetWriter(writer io.Writer) + func (l *Logger) Warning(message string) + func (l *Logger) Warningf(format string, args ...interface{}) + type MemoryUsage struct + Free string + Total string + Usage float64 + Used string + type Metrics struct + ActiveConnections int + CacheHits int + CacheMisses int + DatabaseQueries int + FailedJobs int + HTTPRequests int + QueueJobs int + type MigrateCommand struct + func NewMigrateCommand(manager *connection.Manager) *MigrateCommand + func (mc *MigrateCommand) Run(args []string) error + type MigrationFile struct + Name string + Path string + SQL string + type ModelGenerator struct + ModelName string + func NewModelGenerator(modelName string) *ModelGenerator + func (mg *ModelGenerator) Generate() error + type ModuleFlags struct + APIOnly bool + Full bool + WebOnly bool + type MonitoringCommands struct + func NewMonitoringCommands() *MonitoringCommands + func (mc *MonitoringCommands) MonitorCPU(ctx *cli.Context) error + func (mc *MonitoringCommands) MonitorDisk(ctx *cli.Context) error + func (mc *MonitoringCommands) MonitorHealth(ctx *cli.Context) error + func (mc *MonitoringCommands) MonitorLogs(ctx *cli.Context) error + func (mc *MonitoringCommands) MonitorMemory(ctx *cli.Context) error + func (mc *MonitoringCommands) MonitorMetrics(ctx *cli.Context) error + func (mc *MonitoringCommands) MonitorNetwork(ctx *cli.Context) error + func (mc *MonitoringCommands) MonitorPerformance(ctx *cli.Context) error + func (mc *MonitoringCommands) Register() + type NetworkStats struct + BytesIn string + BytesOut string + Connections int + PacketsIn int + PacketsOut int + type OutputFormatter struct + func NewOutputFormatter() *OutputFormatter + func (of *OutputFormatter) FormatCommandOutput(command string, output string) string + func (of *OutputFormatter) FormatErrorOutput(error string) string + func (of *OutputFormatter) FormatSuccessOutput(message string) string + type OutputLogger struct + func NewOutputLogger(logFile string) *OutputLogger + func (ol *OutputLogger) Log(level, message string) + func (ol *OutputLogger) LogDebug(message string) + func (ol *OutputLogger) LogError(message string) + func (ol *OutputLogger) LogInfo(message string) + func (ol *OutputLogger) LogSuccess(message string) + func (ol *OutputLogger) LogWarning(message string) + type OutputManager struct + func NewOutputManager() *OutputManager + func (om *OutputManager) Clear() + func (om *OutputManager) Code(code string, language string) + func (om *OutputManager) Debug(message string) + func (om *OutputManager) Error(message string) + func (om *OutputManager) Info(message string) + func (om *OutputManager) List(items []string) + func (om *OutputManager) Newline() + func (om *OutputManager) NumberedList(items []string) + func (om *OutputManager) Print(message string) + func (om *OutputManager) Printf(format string, args ...interface{}) + func (om *OutputManager) Println(message string) + func (om *OutputManager) Progress(current, total int, message string) + func (om *OutputManager) Quote(quote string, author string) + func (om *OutputManager) Section(title string) + func (om *OutputManager) Separator() + func (om *OutputManager) SetColors(colors bool) + func (om *OutputManager) SetLogFile(logFile string) + func (om *OutputManager) SetVerbose(verbose bool) + func (om *OutputManager) Spinner(message string) + func (om *OutputManager) Subsection(title string) + func (om *OutputManager) Success(message string) + func (om *OutputManager) Table(headers []string, rows [][]string) + func (om *OutputManager) Warning(message string) + type OutputProvider struct + func NewOutputProvider() *OutputProvider + func (op *OutputProvider) Clear() + func (op *OutputProvider) Code(code string, language string) + func (op *OutputProvider) Debug(message string) + func (op *OutputProvider) Error(message string) + func (op *OutputProvider) Info(message string) + func (op *OutputProvider) List(items []string) + func (op *OutputProvider) Newline() + func (op *OutputProvider) NumberedList(items []string) + func (op *OutputProvider) Print(message string) + func (op *OutputProvider) Printf(format string, args ...interface{}) + func (op *OutputProvider) Println(message string) + func (op *OutputProvider) Progress(current, total int, message string) + func (op *OutputProvider) Quote(quote string, author string) + func (op *OutputProvider) Section(title string) + func (op *OutputProvider) Separator() + func (op *OutputProvider) SetColors(colors bool) + func (op *OutputProvider) SetVerbose(verbose bool) + func (op *OutputProvider) SetWriter(writer io.Writer) + func (op *OutputProvider) Spinner(message string) + func (op *OutputProvider) Subsection(title string) + func (op *OutputProvider) Success(message string) + func (op *OutputProvider) Table(headers []string, rows [][]string) + func (op *OutputProvider) Verbose(message string) + func (op *OutputProvider) Warning(message string) + type PerformanceMetrics struct + AvgResponseTime string + CPUUsage float64 + ErrorRate float64 + MaxResponseTime string + MemoryUsage string + Throughput int + type Permission struct + CreatedAt string + Description string + ID string + Name string + type ProjectCommands struct + func NewProjectCommands() *ProjectCommands + func (pc *ProjectCommands) MakeCommand(ctx *cli.Context) error + func (pc *ProjectCommands) MakeController(ctx *cli.Context) error + func (pc *ProjectCommands) MakeMiddleware(ctx *cli.Context) error + func (pc *ProjectCommands) MakeModel(ctx *cli.Context) error + func (pc *ProjectCommands) MakeModule(ctx *cli.Context) error + func (pc *ProjectCommands) MakeSchema(ctx *cli.Context) error + func (pc *ProjectCommands) Register(app *cli.App) + type ProjectGenerator struct + IncludeGraphQL bool + ProjectName string + Template string + func NewProjectGenerator(projectName, template string, includeGraphQL bool) *ProjectGenerator + func (pg *ProjectGenerator) CreateBasicStructure() error + func (pg *ProjectGenerator) Generate() error + type ProjectValidator struct + func NewProjectValidator() *ProjectValidator + func (pv *ProjectValidator) ValidateModuleName(name string) error + func (pv *ProjectValidator) ValidateProjectName(name string) error + type QueueCommands struct + func NewQueueCommands() *QueueCommands + func (qc *QueueCommands) QueueClear(ctx *cli.Context) error + func (qc *QueueCommands) QueueFailed(ctx *cli.Context) error + func (qc *QueueCommands) QueueFlush(ctx *cli.Context) error + func (qc *QueueCommands) QueueMonitor(ctx *cli.Context) error + func (qc *QueueCommands) QueueRestart(ctx *cli.Context) error + func (qc *QueueCommands) QueueRetry(ctx *cli.Context) error + func (qc *QueueCommands) QueueSize(ctx *cli.Context) error + func (qc *QueueCommands) QueueWork(ctx *cli.Context) error + func (qc *QueueCommands) Register() + type QueueStats struct + Completed int + Failed int + Pending int + Processing int + type QueueValidator struct + func NewQueueValidator() *QueueValidator + func (qv *QueueValidator) ValidateConnectionName(name string) error + func (qv *QueueValidator) ValidateQueueName(name string) error + type RBACCommands struct + func NewRBACCommands(db *gorm.DB) *RBACCommands + func (r *RBACCommands) AssignPermission(permissionSlug, roleSlug string) error + func (r *RBACCommands) AssignRole(userEmail, roleSlug string) error + func (r *RBACCommands) CreatePermission(name, slug, resource, action, description string) error + func (r *RBACCommands) CreateRole(name, slug, description string) error + func (r *RBACCommands) ListPermissions() error + func (r *RBACCommands) ListRoles() error + func (r *RBACCommands) SeedDefaultRBACData() error + func (r *RBACCommands) ShowUserPermissions(userEmail string) error + type RanMigration struct + Batch int + ExecutedAt time.Time + Name string + type Role struct + CreatedAt string + Description string + ID string + Name string + type Route struct + Method string + Name string + Path string + type ScheduledTask struct + LastRun string + Name string + NextRun string + Schedule string + Status string + type SeedCommand struct + func NewSeedCommand(manager *connection.Manager) *SeedCommand + func (sc *SeedCommand) Run(args []string) error + type SeederFile struct + Name string + Path string + type SimpleModuleGenerator struct + Flags ModuleFlags + ModuleName string + func NewSimpleModuleGenerator(moduleName string, flags ModuleFlags) *SimpleModuleGenerator + func (mg *SimpleModuleGenerator) Generate() error + type StorageCommands struct + func NewStorageCommands() *StorageCommands + func (sc *StorageCommands) Register() + func (sc *StorageCommands) StorageBackup(ctx *cli.Context) error + func (sc *StorageCommands) StorageClean(ctx *cli.Context) error + func (sc *StorageCommands) StorageDelete(ctx *cli.Context) error + func (sc *StorageCommands) StorageDownload(ctx *cli.Context) error + func (sc *StorageCommands) StorageLink(ctx *cli.Context) error + func (sc *StorageCommands) StorageList(ctx *cli.Context) error + func (sc *StorageCommands) StorageRestore(ctx *cli.Context) error + func (sc *StorageCommands) StorageSize(ctx *cli.Context) error + func (sc *StorageCommands) StorageSync(ctx *cli.Context) error + func (sc *StorageCommands) StorageUpload(ctx *cli.Context) error + type StorageFile struct + Name string + Size string + type StorageValidator struct + func NewStorageValidator() *StorageValidator + func (sv *StorageValidator) ValidateBucketName(name string) error + func (sv *StorageValidator) ValidateStoragePath(path string) error + type User struct + CreatedAt string + Email string + ID string + Name string + Roles []string + type UtilityCommands struct + func NewUtilityCommands() *UtilityCommands + func (uc *UtilityCommands) CacheClear(ctx *cli.Context) error + func (uc *UtilityCommands) CacheForget(ctx *cli.Context) error + func (uc *UtilityCommands) Decrypt(ctx *cli.Context) error + func (uc *UtilityCommands) Encrypt(ctx *cli.Context) error + func (uc *UtilityCommands) EventGenerate(ctx *cli.Context) error + func (uc *UtilityCommands) Hash(ctx *cli.Context) error + func (uc *UtilityCommands) KeyGenerate(ctx *cli.Context) error + func (uc *UtilityCommands) Register() + func (uc *UtilityCommands) RouteList(ctx *cli.Context) error + func (uc *UtilityCommands) ScheduleRun(ctx *cli.Context) error + func (uc *UtilityCommands) ScheduleWork(ctx *cli.Context) error + func (uc *UtilityCommands) VendorPublish(ctx *cli.Context) error + type ValidationResult struct + Errors map[string][]string + Valid bool + Warnings map[string][]string + func NewValidationResult() *ValidationResult + func (vr *ValidationResult) AddError(field, message string) + func (vr *ValidationResult) AddWarning(field, message string) + func (vr *ValidationResult) GetErrorMessages() []string + func (vr *ValidationResult) GetWarningMessages() []string + func (vr *ValidationResult) HasErrors() bool + func (vr *ValidationResult) HasWarnings() bool + type ValidationRule struct + Custom func(interface{}) error + Max int + Min int + Pattern string + Required bool + type Validator struct + func NewValidator() *Validator + func (v *Validator) AddRule(field string, rule ValidationRule) + func (v *Validator) Validate(field string, value interface{}) error + func (v *Validator) ValidateAll(data map[string]interface{}) error