parser

package
v0.0.0-...-bcacd0f Latest Latest
Warning

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

Go to latest
Published: May 31, 2016 License: MIT Imports: 8 Imported by: 1

Documentation

Overview

Package parser provied command line parser, parse vane.json file and .vanerc file for user defined.

Index

Constants

This section is empty.

Variables

View Source
var ArgIsOpt bool
View Source
var Save bool
View Source
var SaveDev bool

Functions

func CMDParser

func CMDParser() error

CMDParser parse the command line arguments and execute vane's commands. this function must be executed before vane option parser. lefting os.Args slice (the flag starting with "-" or "--" prefix) will parsed by opt_parser.go file.

func OPTParser

func OPTParser()

Types

type Pkgs

type Pkgs []string
var ArgPkgs Pkgs

func (*Pkgs) Set

func (ps *Pkgs) Set(value string) error

func (*Pkgs) String

func (ps *Pkgs) String() string

Jump to

Keyboard shortcuts

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