cmd

package
v54.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: MIT Imports: 16 Imported by: 158

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecPackagesCmd

func ExecPackagesCmd(pkgDir string, commitSeq string, flags CommandFlags) (report.CommitPkgsReport, error)

ExecPackagesCmd is the programmatic interface for the packages command.

func Execute

func Execute()

Execute executes the specified command.

func PrintReport

func PrintReport(r report.Status) error

PrintReport prints the report to stdout

Types

type CommandFlags

type CommandFlags struct {
	CopyRepo            bool
	Debug               bool
	OnlyAdditions       bool
	OnlyBreakingChanges bool
	Quiet               bool
	SuppressReport      bool
	Verbose             bool
}

CommandFlags is used to specify flags when invoking commands programatically.

type RepoContent

type RepoContent map[string]exports.Content

RepoContent contains repo content, it's structured as "package path":content

func (*RepoContent) Print

func (r *RepoContent) Print(o io.Writer) error

Print prints the RepoContent to a Writer as JSON string

Jump to

Keyboard shortcuts

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