doc

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2018 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const AdditionalHelpTopics = "AdditionalHelpTopics"

AdditionalHelpTopics is documented as part of the non-internal class

View Source
const Aliases = "Aliases"

Aliases is documented as part of the non-internal class

View Source
const AvailableCommands = "AvailableCommands"

AvailableCommands is documented as part of the non-internal class

View Source
const BaseDelimiter = "------ DELIMITER:BASE ------"

BaseDelimiter is documented as part of the non-internal class

View Source
const CfgForce = "CfgForce"

CfgForce is documented as part of the non-internal class

View Source
const CfgLocation = "CfgLocation"

CfgLocation is documented as part of the non-internal class

View Source
const CmdFlags = "CmdFlags"

CmdFlags is documented as part of the non-internal class

View Source
const CmdlineDelimiter = "------ DELIMITER:COMMANDLINE ------"

CmdlineDelimiter is documented as part of the non-internal class

View Source
const ConfFile = "ConfFile"

ConfFile is documented as part of the non-internal class

View Source
const ConfigCmd = "config"

ConfigCmd is documented as part of the non-internal class

View Source
const ConfigDelimiter = "------ DELIMITER:CONFIG ------"

ConfigDelimiter is documented as part of the non-internal class

View Source
const ConfigDisplayCmd = "config>display"

ConfigDisplayCmd is documented as part of the non-internal class

View Source
const ConfigEnvCmd = "config>env"

ConfigEnvCmd is documented as part of the non-internal class

View Source
const ConfigEnvMsg1 = "ConfigEnvMsg1"

ConfigEnvMsg1 is documented as part of the non-internal class

View Source
const ConfigEnvMsg2 = "ConfigEnvMsg2"

ConfigEnvMsg2 is documented as part of the non-internal class

View Source
const ConfigEnvMsg3 = "ConfigEnvMsg3"

ConfigEnvMsg3 is documented as part of the non-internal class

View Source
const ConfigHeader = "."

ConfigHeader is documented as part of the non-internal class

View Source
const ConfigInitCmd = "config>init"

ConfigInitCmd is documented as part of the non-internal class

View Source
const CustomDelimiter = "------ DELIMITER:CUSTOM ------"

CustomDelimiter is documented as part of the non-internal class

View Source
const DoTrace = "DoTrace"

DoTrace is documented as part of the non-internal class

View Source
const Example = "Example"

Example is documented as part of the non-internal class

View Source
const Examples = "Examples"

Examples is documented as part of the non-internal class

View Source
const Flags = "Flags"

Flags is documented as part of the non-internal class

View Source
const GlobalFlags = "GlobalFlags"

GlobalFlags is documented as part of the non-internal class

View Source
const HelpCmd = "help"

HelpCmd is documented as part of the non-internal class

View Source
const HelpDelimiter = "------ DELIMITER:HELP ------"

HelpDelimiter is documented as part of the non-internal class

View Source
const HelpFlag = "HelpFlag"

HelpFlag is documented as part of the non-internal class

View Source
const LogFile = "LogFile"

LogFile is documented as part of the non-internal class

View Source
const LogLevel = "LogLevel"

LogLevel is documented as part of the non-internal class

View Source
const Long = "Long"

Long is documented as part of the non-internal class

View Source
const NoCfg = "NoCfg"

NoEnv is documented as part of the non-internal class

View Source
const NoEnv = "NoEnv"

NoEnv is documented as part of the non-internal class

View Source
const Pretty = "Pretty"

Pretty is documented as part of the non-internal class

View Source
const ProvidesMoreInformationAboutACommand = "ProvidesMoreInformationAboutACommand"

ProvidesMoreInformationAboutACommand is documented as part of the non-internal class

View Source
const Short = "Short"

Short is documented as part of the non-internal class

View Source
const Usage = "Usage"

Usage is documented as part of the non-internal class

View Source
const UsageDelimiter = "------ DELIMITER:USAGE ------"

UsageDelimiter is documented as part of the non-internal class

View Source
const Use = "Use"

Use is documented as part of the non-internal class

View Source
const Verbosity = "Verbosity"

Verbosity is documented as part of the non-internal class

View Source
const VersionCmd = "version"

VersionCmd is documented as part of the non-internal class

Variables

View Source
var DefaultDocs = map[string][]string{
	"en": english,
	"it": italian,
}

DefaultDocs contains all the supported languages as a map of string lists following this format. As a library user one can decide to use this format, and call greenery.ConvertDocs, or write a DocSet directly.

------ HELP ------ help variable name, translated help text, ..... ------ USAGE ------ command name, short translated help text, long translated help text command name, short translated,long translated ... ------ COMMANDLINE ------ config struct variable name, translated variable commandline help text ..... ------ CONFIG ------ config block, config block help ..... config struct variable name, translated variable config file help text .....

This will be processed once the program starts into internal structs, it will panic if not successful so it should be easy to test.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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