Documentation ¶
Index ¶
Constants ¶
View Source
const ( CardinalPort = "4040" RedisPort = "6379" )
View Source
const (
// DockerCardinalEnvLogLevel Environment variable name for Docker
DockerCardinalEnvLogLevel = "CARDINAL_LOG_LEVEL"
)
Variables ¶
View Source
var BaseCmd = &cobra.Command{ Use: "cardinal", Short: "Utilities for managing the Cardinal game shard", Long: style.CLIHeader("World CLI — CARDINAL", "Manage your Cardinal game shard project"), GroupID: "core", PreRunE: func(_ *cobra.Command, _ []string) error { return dependency.Check( dependency.Go, dependency.Git, dependency.Docker, dependency.DockerCompose, dependency.DockerDaemon, ) }, Run: func(cmd *cobra.Command, _ []string) { if err := cmd.Help(); err != nil { logger.Fatalf("Failed to execute cardinal command : %s", err.Error()) } }, }
BaseCmd is the base command for the cardinal subcommand Usage: `world cardinal`
View Source
var (
ErrGracefulExit = eris.New("Process gracefully exited")
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.