cardinal

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: LGPL-3.0 Imports: 22 Imported by: 0

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.

Jump to

Keyboard shortcuts

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