patch

package
v0.0.0-...-854a73e Latest Latest
Warning

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

Go to latest
Published: Dec 21, 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" desc:"Apply patches with provided command."`
	Worktree string `opt:"-w" desc:"Create linked worktree on this <commit-ish>."`
	Tag      string `opt:"tag" required:"true" complete:"CompleteTag" desc:"Identify patches with tag."`
}

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) Description

func (Apply) Description() string

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) Description

func (Cd) Description() string

func (Cd) Execute

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

type Drop

type Drop struct {
	Tag string `opt:"tag" complete:"CompleteTag" desc:"Repository patch tag."`
}

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) Description

func (Drop) Description() string

func (Drop) Execute

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

type Find

type Find struct {
	Filter bool     `opt:"-f" desc:"Filter message list instead of search."`
	Commit []string `opt:"..." required:"true" complete:"Complete" desc:"Search for <commit-ish>."`
}

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) Description

func (Find) Description() string

func (Find) Execute

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

type Init

type Init struct {
	Force bool   `opt:"-f" desc:"Overwrite any existing project."`
	Name  string `opt:"name" required:"false"`
}

func (Init) Aliases

func (Init) Aliases() []string

func (Init) Context

func (Init) Context() commands.CommandContext

func (Init) Description

func (Init) Description() string

func (Init) Execute

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

type List

type List struct {
	All bool `opt:"-a" desc:"List all projects."`
}

func (List) Aliases

func (List) Aliases() []string

func (List) Context

func (List) Context() commands.CommandContext

func (List) Description

func (List) Description() string

func (List) Execute

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

type Patch

type Patch struct {
	SubCmd commands.Command `opt:"command" action:"ParseSub" complete:"CompleteSubNames" desc:"Sub command."`
	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) Description

func (Patch) Description() string

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) Description

func (Rebase) Description() string

func (Rebase) Execute

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

type Switch

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

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) Description

func (Switch) Description() string

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) Description

func (Term) Description() string

func (Term) Execute

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

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) Description

func (Unlink) Description() string

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