cmd

package
v0.0.0-...-63be6c5 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package cmd contains all CLI commands and options

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AreAllTestsComplete

func AreAllTestsComplete(output *reflect.GetStatusOutput) bool

func DisplayDuration

func DisplayDuration(end int, start int) string

func DisplayRunID

func DisplayRunID(id int) string

func DisplayTime

func DisplayTime(t time.Time) string

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func IsInputFromPipe

func IsInputFromPipe() bool

func MillisecondsToTime

func MillisecondsToTime(t int) time.Time

Types

type DisplayFormat

type DisplayFormat int64
const (
	Text DisplayFormat = iota
	JSON
)

Jump to

Keyboard shortcuts

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