cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CoverageCmd = cli.Command{
	Name:    "coverage-badge",
	Aliases: []string{"cb"},
	Usage:   "generates link to coverage badge from Golang test coverage report and updates README.md file",
	Action:  generateCoverageBadge,
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:     "coverage-file",
			Usage:    "path to file with coverage test report",
			Required: true,
			Aliases:  []string{"cf"},
		},
		&cli.StringFlag{
			Name:    "readme-file",
			Usage:   "path to README.md",
			Value:   "README.md",
			Aliases: []string{"rf"},
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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