app

package
v0.0.0-...-f0ab10a Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ApplicationName = "styx"

ApplicationName is the name of the app for the CLI.

Variables

View Source
var Action string

Action is for the cli Commands

View Source
var SubAction string

SubAction is for the subcommands in the cli

Functions

func Cli

func Cli() *cli.App

Cli for all commandline arguments.

Types

type MainFlags

type MainFlags struct {
	SetupService        bool
	DataDir             string
	Debug               bool
	Help                bool
	Version             bool
	InterfaceAddress    string
	GrpcPort            int
	SftpPort            int
	SSHHOSTKEY          string
	Config              string
	OverwriteHostConfig bool
	EncryptionKey       string
	MasterIP            string
	MasterPort          int
}

MainFlags is a struct for the main cli flags

var MainFlagVal MainFlags

MainFlagVal is an instance of struct for the main cli flags

func (*MainFlags) CliSetDefaults

func (cliflags *MainFlags) CliSetDefaults() error

CliSetDefaults sets default values for empty cli flags.

Jump to

Keyboard shortcuts

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