initcmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UsageDoc = `` /* 341-byte string literal not displayed */

UsageDoc help document passed to docopts

Functions

func Init

func Init(args []string, inject *di.DI) int

Init install a template

Types

type OptInit

type OptInit struct {
	Init     bool   `docopt:"init"`
	Repo     bool   `docopt:"repo"`
	Template bool   `docopt:"template"`
	Name     string `docopt:"<name>"`
	Path     string `docopt:"<path>"`
}

OptInit initialize configuration file

Jump to

Keyboard shortcuts

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