app

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: AGPL-3.0 Imports: 1 Imported by: 8

Documentation

Overview

Package app is Beehive's application container. Handles command-line arguments parsing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(flags []CliFlag)

AddFlags adds CliFlags to appflags

func Run

func Run()

Run sets up all the cli-param mappings

Types

type CliFlag

type CliFlag struct {
	V     interface{}
	Name  string
	Value interface{}
	Desc  string
}

A CliFlag can be added by Beehive modules to map a command-line parameter to a local variable

Jump to

Keyboard shortcuts

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