cli

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package cli defines the command-line features of conch.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Template

func Template(name string, contents string) (*template.Template, error)

Template creates a new text template with the specified name and contents, suitable for formatting CLI output.

Types

type Filters

type Filters struct {
	Types  util.CaseInsensitiveSet
	Scopes util.CaseInsensitiveSet
	Selections
}

Filters are the different ways commits can be included based on their attributes or impact.

func (*Filters) Any

func (f *Filters) Any() bool

type Outputs

type Outputs struct {
	List        bool
	Format      string
	Count       bool
	Impact      bool
	BumpVersion string
}

Outputs are the different ways that commit information can be displayed to the user on the command line.

func (*Outputs) Any

func (o *Outputs) Any() bool

type Selections

type Selections struct {
	Breaking      bool
	Minor         bool
	Patch         bool
	Uncategorized bool
}

Selections are the different ways commits can be included based on impact.

func (*Selections) Any

func (s *Selections) Any() bool

Jump to

Keyboard shortcuts

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