sync

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InitOptions

type InitOptions struct {
	Force bool `short:"f" long:"force" description:"Force init if config already exists."`

	GitHub gitHubInitOptions
}

func (*InitOptions) Execute

func (opts *InitOptions) Execute(args []string) error

type Options

type Options struct {
	Init InitOptions `command:"init" description:"Create a sync config."`

	DryRun    bool `short:"n" long:"dry-run" description:"Print actions instead of doing them."`
	Jobs      *int `short:"j" long:"jobs" value-name:"N" description:"Run up to N actions in parallel. (default: NumCPU)"`
	KeepGoing bool `short:"k" long:"keep-going" description:"Keep going even if an action fails."`
	Prune     bool `short:"p" long:"prune" description:"Remove extra repositories."`
}

func (*Options) Execute

func (opts *Options) Execute(args []string) error

Jump to

Keyboard shortcuts

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