cli

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunParser

func RunParser(options Options) error

RunParser kicks off the process for writing a new changelog 1. Set the output filename if one is not set 2. Collect data on each component as specified 3. Build a unified changelog with each component 4. Write a new changelog based on the appropriate template

Types

type Options

type Options struct {
	APIToken           string
	Date               time.Time
	OutputFilename     string
	OutputType         string
	RepositoryFilename string
	ReleasesDir        string
	Version            string
}

Options represents the command line values a user can pass in

func (*Options) HandleInput

func (options *Options) HandleInput() error

HandleInput parses command line values and stores them within an options struct

Jump to

Keyboard shortcuts

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