internal

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "1.0.0"

Version project version.

Functions

This section is empty.

Types

type OptMain

type OptMain struct {
	Start   bool `docopt:"start"`
	Setup   bool `docopt:"setup"`
	Install bool `docopt:"install"`
	List    bool `docopt:"list"`
	Remove  bool `docopt:"remove"`
	Search  bool `docopt:"search"`
	Update  bool `docopt:"update"`
	Init    bool `docopt:"init"`
	Repo    bool `docopt:"repo"`
}

OptMain holds all parsed options from GetOptMain.

func GetOptMain

func GetOptMain(args []string) *OptMain

GetOptMain is a command line option parser that uses docopts-go to parse a usage document string.

Directories

Path Synopsis
di
Package di is a package that implements Dependency Injection through methods that create the options needed for structs to be created.
Package di is a package that implements Dependency Injection through methods that create the options needed for structs to be created.
Package env holds environment variables used by the application.
Package env holds environment variables used by the application.
Package fflags enables featureflags using environment variables.
Package fflags enables featureflags using environment variables.
resources
ansicodes
Package ansicodes is a collection of ANSI escape sequences used to format text output.
Package ansicodes is a collection of ANSI escape sequences used to format text output.
check
Package check performs checks
Package check performs checks
exit
Package exit handles exit to OS
Package exit handles exit to OS
sync
Package sync synchronizes configuration between the database and corresponding file and synchronization of any downloads.
Package sync synchronizes configuration between the database and corresponding file and synchronization of any downloads.
vcs
services
initialize
Package initialize initializes a template or a repository
Package initialize initializes a template or a repository
search
Package search implements search functionality
Package search implements search functionality
subcmds

Jump to

Keyboard shortcuts

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