cmd

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitCobra added in v0.1.2

func InitCobra() *cobra.Command

func NewBackupCmd added in v0.1.2

func NewBackupCmd() *cobra.Command

NewBackupCmd returns the backup command which saves a local backup of the server and world.

func NewBuildCommand added in v0.1.2

func NewBuildCommand() *cobra.Command

NewBuildCommand returns the build command which builds the server container image

func NewCommandCmd added in v0.1.2

func NewCommandCmd() *cobra.Command

NewCommandCmd returns the 'command' command which executes a mc server command on the given server.

func NewConfigureCmd added in v0.1.2

func NewConfigureCmd() *cobra.Command

NewConfigureCmd returns the configure command which operates on server files.

func NewExportCommand added in v0.1.2

func NewExportCommand() *cobra.Command

NewExportCommand returns the version command which prints the current craft version

func NewListCmd added in v0.1.2

func NewListCmd() *cobra.Command

NewListCmd returns the list command which lists running and backed up servers.

func NewLogsCmd added in v0.1.2

func NewLogsCmd() *cobra.Command

NewLogsCmd returns the logs command which tails the server cli output.

func NewRootCmd added in v0.1.2

func NewRootCmd() *cobra.Command

NewRootCmd returns the root command which always runs before all other commands

func NewRunCmd added in v0.1.2

func NewRunCmd() *cobra.Command

NewRunCmd returns the run command which creates a new craft server container and runs the server process.

func NewStartCmd added in v0.1.2

func NewStartCmd() *cobra.Command

NewStartCmd returns the start command which starts a server from the most recent backup.

func NewStopCmd added in v0.1.2

func NewStopCmd() *cobra.Command

NewStopCmd returns the stop command which takes a backup and stops the server.

func NewVersionCmd added in v0.1.2

func NewVersionCmd() *cobra.Command

NewVersionCmd returns the version command which prints the current craft version

Types

This section is empty.

Jump to

Keyboard shortcuts

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