cmd

package
v0.0.0-...-b13d3a1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: Zlib Imports: 1 Imported by: 0

Documentation

Overview

Package cmd is used to parse the command line arguments.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Parser is the singleton in this package that allocates a ConfigParser struct,
	// thus it holds the information passed in the command line to Macaw
	Parser = new(ConfigParser)
)

Functions

This section is empty.

Types

type ConfigParser

type ConfigParser struct {
	// contains filtered or unexported fields
}

ConfigParser is the struct that contains the information passed via cmd

func (*ConfigParser) Debug

func (c *ConfigParser) Debug() bool

Debug is responsible to return whether we are in debug mode or not

Jump to

Keyboard shortcuts

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