cmd

package
v52.3.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

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