audit

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: 6 Imported by: 0

Documentation

Overview

Package audit provides the `audit` command to create a lighthouse report.

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:     "audit",
	Short:   "Create a Lighthouse report",
	PreRunE: validateFlags,
	Run:     audit,
	Example: `
  lighthouse-keeper audit --url https://example.com/

  lighthouse-keeper audit --form-factor mobile --url https://example.com/

  lighthouse-keeper audit --name mysite --form-factor mobile --url https://example.com/

  lighthouse-keeper audit --url https://container:5000/ --docker-link container:container

  lighthouse-keeper audit \
    --name first-name --url http://first-url \
    --name second-name --url http://second-url`,
}

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