cmd

package
v0.9.11 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: LGPL-2.1 Imports: 27 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"`
	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