beehive: Index | Files

package app

import ""

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


Package Files


func AddFlags Uses

func AddFlags(flags []CliFlag)

AddFlags adds CliFlags to appflags

func Run Uses

func Run()

Run sets up all the cli-param mappings

type CliFlag Uses

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

Package app imports 1 packages (graph) and is imported by 24 packages. Updated 2017-02-04. Refresh now. Tools for package owners.