args

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgsConfig

type ArgsConfig struct {
	ConfigFile string
	GUI        bool
	GUIPort    int
	GUIImage   string
	SubCommand SubCommand
	Detached   bool
	FollowLogs bool
}

ArgsConfig represents the configuration given through the command line

func ParseArgs

func ParseArgs() *ArgsConfig

ParseArgs parses the command line and returns the configuration

type SubCommand

type SubCommand int
const (
	SUBCOMMAND_UP   SubCommand = iota
	SUBCOMMAND_DOWN SubCommand = iota
	SUBCOMMAND_LOGS SubCommand = iota
)

Jump to

Keyboard shortcuts

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