tool

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UsageTemplate = `` /* 1220-byte string literal not displayed */

Usage template with compactly formatted commands.

Functions

func Errorf

func Errorf(fs string, args ...interface{})

Errorf is useful for CLI apps: it prints an error to stderr and also logs it into syslog

func InitCmdlineParser

func InitCmdlineParser(appName, appHelp string) (app *kingpin.Application)

InitCmdlineParser configures kingpin command line args parser with some defaults common for all Teleport CLI tools

func InitLoggerCLI

func InitLoggerCLI()

CLI tools by default log into syslog, not stderr

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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