patch

package
v0.0.0-...-0798a42 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apply

type Apply struct {
	Cmd      string `opt:"-c"`
	Worktree string `opt:"-w"`
	Tag      string `opt:"tag" required:"true" complete:"CompleteTag"`
}

func (Apply) Aliases

func (Apply) Aliases() []string

func (*Apply) CompleteTag

func (*Apply) CompleteTag(arg string) []string

func (Apply) Context

func (Apply) Context() commands.CommandContext

func (Apply) Execute

func (a Apply) Execute(args []string) error

type Cd

type Cd struct{}

func (Cd) Aliases

func (Cd) Aliases() []string

func (Cd) Context

func (Cd) Context() commands.CommandContext

func (Cd) Execute

func (Cd) Execute(args []string) error

type Drop

type Drop struct {
	Tag string `opt:"tag" complete:"CompleteTag"`
}

func (Drop) Aliases

func (Drop) Aliases() []string

func (*Drop) CompleteTag

func (*Drop) CompleteTag(arg string) []string

func (Drop) Context

func (Drop) Context() commands.CommandContext

func (Drop) Execute

func (r Drop) Execute(args []string) error

type Find

type Find struct {
	Filter bool     `opt:"-f"`
	Commit []string `opt:"..." required:"true" complete:"Complete"`
}

func (Find) Aliases

func (Find) Aliases() []string

func (*Find) Complete

func (*Find) Complete(arg string) []string

func (Find) Context

func (Find) Context() commands.CommandContext

func (Find) Execute

func (s Find) Execute(_ []string) error

type Init

type Init struct {
	Force bool   `opt:"-f"`
	Name  string `opt:"name" required:"false"`
}

func (Init) Aliases

func (Init) Aliases() []string

func (Init) Context

func (Init) Context() commands.CommandContext

func (Init) Execute

func (i Init) Execute(args []string) error

type List

type List struct {
	All bool `opt:"-a"`
}

func (List) Aliases

func (List) Aliases() []string

func (List) Context

func (List) Context() commands.CommandContext

func (List) Execute

func (l List) Execute(args []string) error

type Patch

type Patch struct {
	SubCmd commands.Command `opt:"command" action:"ParseSub" complete:"CompleteSubNames"`
	Args   string           `opt:"..." required:"false" complete:"CompleteSubArgs"`
}

func (Patch) Aliases

func (Patch) Aliases() []string

func (*Patch) CompleteSubArgs

func (p *Patch) CompleteSubArgs(arg string) []string

func (*Patch) CompleteSubNames

func (*Patch) CompleteSubNames(arg string) []string

func (Patch) Context

func (Patch) Context() commands.CommandContext

func (Patch) Execute

func (p Patch) Execute(args []string) error

func (*Patch) ParseSub

func (p *Patch) ParseSub(arg string) error

type Rebase

type Rebase struct {
	Commit string `opt:"commit" required:"false"`
}

func (Rebase) Aliases

func (Rebase) Aliases() []string

func (Rebase) Context

func (Rebase) Context() commands.CommandContext

func (Rebase) Execute

func (r Rebase) Execute(args []string) error

type Switch

type Switch struct {
	Project string `opt:"project" complete:"Complete"`
}

func (Switch) Aliases

func (Switch) Aliases() []string

func (Switch) Complete

func (s Switch) Complete(arg string) []string

func (Switch) Context

func (Switch) Context() commands.CommandContext

func (Switch) Execute

func (s Switch) Execute(_ []string) error

type Term

type Term struct {
	Cmd []string `opt:"..." required:"false"`
}

func (Term) Aliases

func (Term) Aliases() []string

func (Term) Context

func (Term) Context() commands.CommandContext

func (Term) Execute

func (t Term) Execute(_ []string) error
type Unlink struct {
	Tag string `opt:"tag" required:"false" complete:"Complete"`
}

func (Unlink) Aliases

func (Unlink) Aliases() []string

func (*Unlink) Complete

func (*Unlink) Complete(arg string) []string

func (Unlink) Context

func (Unlink) Context() commands.CommandContext

func (Unlink) Execute

func (d Unlink) Execute(args []string) error

Jump to

Keyboard shortcuts

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