Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateGameCmd = &cobra.Command{ Use: string(config.CreateGame), Short: "Create a game server", Long: `Create a new game server session through the Zephyr server.`, Run: createGame, }
View Source
var DestroySessionCmd = &cobra.Command{
Use: "destroy-session",
Short: "Destroy a game session",
Long: `Initiate the destruction of a game session through the Zephyr server.`,
Run: destroySession,
}
View Source
var ListGamesCmd = &cobra.Command{
Use: "list-games",
Short: "List all available games",
Long: `Retrieve a list of all available games from the Zephyr server.`,
Run: listGames,
}
View Source
var ListSessionsCmd = &cobra.Command{
Use: "list-sessions",
Short: "List game sessions",
Long: `Retrieve a list of game sessions for the user with a specified status.`,
Run: listSessions,
}
View Source
var LoginCmd = &cobra.Command{ Use: string(config.Login), Short: "Login to Zephyr using Discord", Long: `Login to Zephyr using Discord's OAuth to authenticate and receive an access token.`, Run: login, }
View Source
var RestartGameCmd = &cobra.Command{ Use: string(config.RestartGame), Short: "Restart a game server", Long: `Restart an existing game server session through the Zephyr server.`, Run: restartGame, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.