cmd

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: MPL-2.0 Imports: 36 Imported by: 0

Documentation

Overview

Package cmd handle the cli commands

Index

Constants

View Source
const ScheduleEnabledEnv = "ENABLE_TOURNAMENT_SCHEDULE"

ScheduleEnabledEnv is the env var that enables the "Tournament schedule" feature in the SPA admin UI. Truthy values: "1", "true", "yes", "on" (case-insensitive). Anything else / unset = false (default OFF). mp-fwce.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called for backward compatibility

func ExecuteWithResources added in v0.11.0

func ExecuteWithResources(res *resources.Resources)

ExecuteWithResources adds all child commands to the root command with resources. This is the preferred way to execute commands with proper dependency injection.

func GetResources added in v0.11.0

func GetResources() *resources.Resources

GetResources returns the application resources

func NewRouter added in v0.11.0

func NewRouter() *gin.Engine

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL