info

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AppName string = "gwsm"

AppName defined the application name

View Source
const AppRepoOwner string = "Goodway Group Tech"

AppRepoOwner defined the owner of the repo on GitHub

Variables

View Source
var MarkdownDocTemplate = `% {{ .App.Name }} 8
# NAME
{{ .App.Name }}{{ if .App.Usage }} - {{ .App.Usage }}{{ end }}
# SYNOPSIS
{{ .App.Name }}
{{ if .SynopsisArgs }}
` + "```" + `
{{ range $v := .SynopsisArgs }}{{ $v }}{{ end }}` + "```" + `
{{ end }}{{ if .App.UsageText }}
# DESCRIPTION
{{ .App.UsageText }}
{{ end }}
**Usage**:
` + "```" + `
{{ .App.Name }} [GLOBAL OPTIONS] command [COMMAND OPTIONS] [ARGUMENTS...]
` + "```" + `
{{ if .GlobalArgs }}
# GLOBAL OPTIONS
{{ range $v := .GlobalArgs }}
{{ $v }}{{ end }}
{{ end }}{{ if .Commands }}
# COMMANDS
{{ range $v := .Commands }}
{{ $v }}{{ end }}{{ end }}`
View Source
var S3GetCommandHelp = `` /* 219-byte string literal not displayed */
View Source
var SecretBinaryHelp = "" /* 126-byte string literal not displayed */
View Source
var ViewAnsibleEncryptedEnvCommandHelpText = `` /* 358-byte string literal not displayed */
View Source
var ViewAnsibleEnvDiffCommandHelpText = `` /* 668-byte string literal not displayed */
View Source
var ViewDiffCommandHelpText = `` /* 1196-byte string literal not displayed */
View Source
var ViewLocalCommandHelpText = `` /* 902-byte string literal not displayed */
View Source
var ViewNamespaceCommandHelpText = `` /* 461-byte string literal not displayed */

Functions

func ToMan added in v0.9.2

func ToMan(a *cli.App) (string, error)

ToMan creates a man page string for the `*App` The function errors if either parsing or writing of the string fails.

func ToMarkdown added in v0.9.2

func ToMarkdown(a *cli.App) (string, error)

ToMarkdown creates a markdown string for the `*App` The function errors if either parsing or writing of the string fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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