Merge branch 'hotfix/0.1.1' into develop
New file.
Changed the approach to constructing commands. The list of commands is now a map rather than a slice. Commands and subcommands are added through an Add() method rather than by defining a large nested struct literal (which seems to not quite work when trying to nest a slice of structs within a struct - or I failed to figure it out).
New: global Command var
New: Add() for CommandMap
New: Add() for Command
New: checkAllowedFlags() (stub)
New: getCommand()
New: Test setup
* Command test
* Command flags
* Command do something
* Command do nothing
* Flags: yes, size
Changed: Command's children are now internal.
Changed: getCommand is now called readCommand.
Added: Function comments.
Changed: readCommands now returns an error for unknown command names.
Changed: Status
New: Requirements
Changed: Syntax for adding commands
Changed: Other minor changes
New: Usage()
Changed: readCommand()
Changed: Minor syntax-related changes (Commands["blah"].Add(...) -> AddSub("blah",...)
Changed: code blocks with language specifier
Almost complete. Passing the current tests.
Todo: Reject all flags passed to a command that are neither defined for that command nor are global flags.
Added: Lots of tests
Changed: Parse() reads the toml file and the env vars only once
Added: Reparse() to re-read the tomle file and the env vars
Added: Up()
Minor changes.
Added: Behavior if no config file name is specified.
Changed: readTomlFile creates an empty TOML doc by parsing an empty string.
Minor changes.
Fixed: A few minor issues.
Added: Code to test the case if no filename is given
New Travis CI file
Added: Travis CI Build Status Badge
Added: License Badge
Initial Godeps file.
Added go get goconvey to the install section.