selection

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeSelection

func MakeSelection(args []string)

Types

type CLIApp

type CLIApp struct {
	// contains filtered or unexported fields
}

func NewCLIApp

func NewCLIApp(
	getPairs GetPairs,
	savePairs SavePairs,
	formatCommitMessage FormatCommitMessage,
	saveCommitMessage SaveCommitMessage,
) *CLIApp

func (CLIApp) Run

func (c CLIApp) Run(ctx context.Context) error

type FormatCommitMessage

type FormatCommitMessage func(authors lib.CoAuthors) (string, error)

type GetPairs

type GetPairs func(ctx context.Context) (lib.CoAuthors, error)

type SaveCommitMessage

type SaveCommitMessage func(ctx context.Context, message string) error

type SavePairs

type SavePairs func(ctx context.Context, pairs lib.CoAuthors) error

Jump to

Keyboard shortcuts

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