Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CloneCommand ¶
type CloneCommand struct {
Meta
WorkDirConfig
ProgressBar
MultiThread
Progress bool
Args []string
}
CloneCommand implements the cli.Command interface to clone a group
type Meta ¶ added in v0.0.5
Meta ...
func (*Meta) AskCredentials ¶ added in v0.0.5
AskCredentials prompts for username and password
func (*Meta) Fatal ¶ added in v0.0.5
func (m *Meta) Fatal(v ...interface{})
Fatal outputs message in the UI and exits with exit code 1
func (*Meta) FatalError ¶ added in v0.0.5
FatalError outputs error in the UI and exits with exit code 1, noop if error is nil
type MultiThread ¶ added in v0.0.6
type MultiThread struct {
// contains filtered or unexported fields
}
MultiThread ...
func (*MultiThread) FeedWorkers ¶ added in v0.0.6
func (h *MultiThread) FeedWorkers(fn func())
func (*MultiThread) FlagSet ¶ added in v0.0.6
func (h *MultiThread) FlagSet() *flag.FlagSet
func (*MultiThread) StartWorkers ¶ added in v0.0.6
func (h *MultiThread) StartWorkers(fn func())
type ProgressBar ¶ added in v0.0.6
type ProgressBar struct {
// contains filtered or unexported fields
}
ProgressBar ...
type PullCommand ¶
type PullCommand struct {
Meta
WorkDirConfig
ProgressBar
MultiThread
Progress bool
WorkDir string
}
PullCommand implements the cli.Command interface to run git pull on every cloned project in group
type UpdateCommand ¶
type UpdateCommand struct {
Meta
}
UpdateCommand implements the cli.Command interface to self update git-group binary
Click to show internal directories.
Click to hide internal directories.