compare

package
v0.0.0-...-5bd24a5 Latest Latest
Warning

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

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

Documentation

Overview

Package compare provides the `compare` command to perform a comparison of two lighthouse reports

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:     "compare",
	Short:   "Compare two lighthouse reports",
	PreRunE: validateFlags,
	Run:     compare,
	Example: `
  lighthouse-keeper compare \
    --input lighthouse-a.json --inputlabel before \
    --input lighthouse-b.json --inputlabel after

  lighthouse-keeper compare \
    --input lighthouse-a.json --inputlabel before \
    --input lighthouse-b.json --inputlabel after \
    --github-owner giantswarm \
    --github-repo lighthouse-keeper \
    --github-issue 11 \
    --github-token $(cat ~/.github-token) \
`,
}

Cmd is our cobra command

Functions

func IsInvalidFlagsError

func IsInvalidFlagsError(err error) bool

IsInvalidFlagsError asserts invalidFlagsError

Types

This section is empty.

Jump to

Keyboard shortcuts

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