cmd

package
v0.4.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2018 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(name, appVersion string, cfg *string, version *bool, run Runner) *cobra.Command

func WaitInterrupted added in v0.4.1

func WaitInterrupted()

Types

type Runner

type Runner func() error

Runner func starts service wrapper by Cobra command.

Directories

Path Synopsis
cli

Jump to

Keyboard shortcuts

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