cli

package
v0.0.0-...-cffa139 Latest Latest
Warning

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

Go to latest
Published: May 29, 2015 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Bazil = bazil{}

Bazil allows command-line callables access to global flags, such as verbosity.

Functions

func Main

func Main() (exitstatus int)

Main is primary entry point into the bazil command line application.

Types

type Service

type Service interface {
	Setup() (ok bool)
	Teardown() (ok bool)
}

Service is an interface that commands can implement to setup and teardown services for the subcommands below them.

As Run and potential multiple Teardown failures makes having a single error return impossible, Setup and Teardown only get to signal a boolean success. Any detail should be exposed via log.

Directories

Path Synopsis
debug
cas
peer
add
server
run
sharing
add
volume

Jump to

Keyboard shortcuts

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