cmd

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package cmd contains the command implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(pc *Config, fs *flag.FlagSet, args []string) (calc.CoverageSummary, error)

Run performs the actual work of the command: loading the coverage file and analysing it.

Types

type Config

type Config struct {
	Path      string
	IsVerbose bool
	Strategy  string
	Percent   bool
}

func NewConfig

func NewConfig() *Config

Jump to

Keyboard shortcuts

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