cmd

package
v0.0.0-...-00a9ec4 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host    string `ini:"host"`
	Port    string `ini:"port"`
	User    string `ini:"user"`
	Pass    string `ini:"pass"`
	Scp     bool   `ini:"scp"`
	Private string `ini:"private"`
	Workdir string `ini:"workdir"`
	Tmpdir  string `ini:"tmpdir"`
	NewPass string `ini:"newPass"`
}

func LoadConfig

func LoadConfig(filePath string) (Config, error)

type FlagConfig

type FlagConfig struct {
	TestFlag          bool
	TestCgPassFlag    bool
	InitFlag          bool
	HelpFlag          bool
	EdrFlag           bool
	TimestampFlag     int64
	CommitFlag        string
	BackupFlag        string
	BackupToLocalFlag string
	DelFlag           string
	EmergeFlag        string
	HardFlag          string
	GenFlag           string
	PatchRemoteFlag   string
	Unpack            string
	Function          string
}

func Flags

func Flags() *FlagConfig

Jump to

Keyboard shortcuts

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