Help us shape the future of Go! Take the 2026 Go Developer Survey

commands

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string) int

Run is the CLI entrypoint

Types

type CloneCommand

type CloneCommand struct {
}

CloneCommand implements the cli.Command interface to clone a group

func (*CloneCommand) Help

func (h *CloneCommand) Help() string

Help ...

func (*CloneCommand) Run

func (h *CloneCommand) Run(args []string) int

Run ...

func (*CloneCommand) Synopsis

func (h *CloneCommand) Synopsis() string

Synopsis ...

type PullCommand

type PullCommand struct {
}

func (*PullCommand) Help

func (h *PullCommand) Help() string

func (*PullCommand) Run

func (*PullCommand) Run(args []string) int

func (*PullCommand) Synopsis

func (*PullCommand) Synopsis() string

type UpdateCommand

type UpdateCommand struct {
}

func (*UpdateCommand) Help

func (h *UpdateCommand) Help() string

func (*UpdateCommand) Run

func (*UpdateCommand) Run(args []string) int

func (*UpdateCommand) Synopsis

func (*UpdateCommand) Synopsis() string

type WorkDirConfig

type WorkDirConfig struct {
	GroupURL string
}

WorkDirConfig persists the options used to initially clone a group to re-use them for pull commands

Jump to

Keyboard shortcuts

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