cmd

package
v0.9.23 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: LGPL-2.1 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildDate string

BuildDate holds the date and time at which the application was build. It gets filled automatically at build time.

View Source
var Version string

Version holds the application version. It gets filled automatically at build time.

Functions

func Execute

func Execute()

Execute executes the root command.

Types

type Configuration

type Configuration struct {
	Fullname      string `json:"fullName"`
	Username      string `json:"username"`
	BaseDir       string `json:"baseDir"`
	BaseURL       string `json:"baseUrl"`
	Token         string `json:"token"`
	Email         string `json:"email"`
	Concurrency   uint   `json:"concurrency"`
	SubDirs       bool   `json:"subDirs"`
	ExcludedRepos string `json:"excludedRepos"`
	Repos         []Repo `json:"repos"`
}

Configuration holds git configuration data.

type Repo

type Repo struct {
	URL    string `json:"url"`
	Dir    string `json:"dir"`
	Branch string `json:"branch"`
	Parent string `json:"parent"`
}

Repo holds a repository URL and its local directory equivalent.

type Status

type Status struct {
	Repo  string
	State string
}

Status holds a repository's status.

type StatusList

type StatusList []Status

StatusList is a convenience wrapper around []Status.

Jump to

Keyboard shortcuts

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