cloner

package
v0.0.0-...-4f6da23 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigFlag string = "config"
View Source
const NoStrategy string = "nostrategy" // Let git handle the situation
View Source
const NotIfExist string = "notifexist" // Do not clone if target already exists
View Source
const Overwrite string = "overwrite" // Remove target first if it exists
View Source
const PathFlag string = "path"
View Source
const RemoteFlag string = "remote"
View Source
const RevisionFlag string = "revision"
View Source
const StrategyFlag string = "strategy"
View Source
const VerboseFlag string = "verbose"

Variables

View Source
var (
	PreCloningStrategies []string = []string{
		NotIfExist, Overwrite, NoStrategy,
	}
)

Functions

func Command

func Command() (*cobra.Command, error)

Types

type CloneFonfig

type CloneFonfig struct {
	Username   *string `yaml:"username,omitempty"`
	PrivateKey *string `yaml:"privateKey,omitempty"`
	Password   string  `yaml:"password"`
}

Jump to

Keyboard shortcuts

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