cli

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Description string = "`" + Name + " [module name]` creates a directory containing:\n" +
	"- Go module metadata: go.mod\n" +
	"- A place to start writing code: main.go\n" +
	"- A .gitignore file\n" +
	"\n" +
	"This module can be immediately run:\n" +
	"\n" +
	"    $ go run .\n" +
	"    hello, world!\n" +
	"\n" +
	"Optionally, the directory can also include:\n" +
	"- Git repository setup with .gitignore, README.md\n" +
	"\n" +
	"More information: " + Url
View Source
const Name string = "gmc"
View Source
const Url string = "https://github.com/jbrudvik/" + Name

Variables

View Source
var Version string = getVersion()

Functions

func App

func App() *cli.App

func AppWithCustomEverything added in v0.0.3

func AppWithCustomEverything(output io.Writer, errorOutput io.Writer, exitCodeHandler func(int), gitInitialBranch *string) *cli.App

func AppWithCustomOutput

func AppWithCustomOutput(output io.Writer, errorOutput io.Writer) *cli.App

Types

This section is empty.

Directories

Path Synopsis
assets

Jump to

Keyboard shortcuts

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