cli

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtExit

func AtExit(f func())

AtExit is used to register functions to execute before exiting.

func Exit

func Exit(code int)

Exit ensures that any registered functions are executed before exiting with the specified status code.

func PrintErr

func PrintErr(err error)

PrintErr prints the error and then exits

func SaveConfiguration

func SaveConfiguration(c interface{}) (err error)

SaveConfiguration saves the configuration to ~/.ampswarm.yaml

Types

This section is empty.

Jump to

Keyboard shortcuts

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