config

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const AppName = "git-update"

Variables

View Source
var (
	FlagDir           string
	FlagAll           bool
	FlagCheckout      bool
	FlagFetch         bool
	FlagPull          bool
	FlagResetHard     bool
	FlagDefaultBranch string
	FlagVerbose       bool
	FlagParallel      int

	FlagExecuteTimeout time.Duration

	FlagVersion bool
)

Functions

func ParseFlags added in v0.1.2

func ParseFlags()

Types

type Version

type Version struct {
	Name       string `json:"name,omitempty"`
	Version    string `json:"version,omitempty"`
	Branch     string `json:"branch,omitempty"`
	CommitHash string `json:"commitHash,omitempty"`
	TimeBuild  string `json:"timeBuild,omitempty"`
}

func GetVersion

func GetVersion() Version

Jump to

Keyboard shortcuts

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