cli_helpers

package
v11.11.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixHOME

func FixHOME(app *cli.App)

func InitCli

func InitCli()

func LogRuntimePlatform added in v1.1.3

func LogRuntimePlatform(app *cli.App)

func SetupCPUProfile

func SetupCPUProfile(app *cli.App)

func WarnOnBool

func WarnOnBool(args []string)

WarnOnBool logs warning if args contains true or false github.com/urfave/cli breaks badly if boolean are set using --flag true instead of --flag=true or just --flag this is a simple check that warn the user about this if detects "true" or "false" alone in the arguments

Types

This section is empty.

Jump to

Keyboard shortcuts

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