cmd

package
v0.0.0-...-5193a12 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

type AffectedCmd

type AffectedCmd struct {
	CommonArgs
	ChangeArgs

	IncludeChanged bool `default:"true" help:"include changed packages"`
}

func (*AffectedCmd) Run

func (c *AffectedCmd) Run() error

type ChangeArgs

type ChangeArgs struct {
	SinceRef     string `default:"HEAD^" help:"The ref to compare against."`
	IncludeDirty bool   `default:"false" help:"Include uncommitted changes."`
}

ChangeArgs are args common to git change related commands

type ChangedCmd

type ChangedCmd struct {
	CommonArgs
	ChangeArgs
}

func (*ChangedCmd) Run

func (c *ChangedCmd) Run() error

type CommonArgs

type CommonArgs struct {
	GitDir string `default:"." type:"existingdir" help:"The git repository to use."`
}

CommonArgs are args common to all commands

type TreeCmd

type TreeCmd struct {
	CommonArgs
}

func (*TreeCmd) Run

func (c *TreeCmd) Run() error

Jump to

Keyboard shortcuts

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