Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Comments

cli: add CLI constructor, support --version, improvements#6

Merged
mitchellh merged 1 commit intomitchellh:masterfrom
fatih:cli_constructor
Jun 18, 2014
Merged

cli: add CLI constructor, support --version, improvements#6
mitchellh merged 1 commit intomitchellh:masterfrom
fatih:cli_constructor

Conversation

@fatih
Copy link
Contributor

@fatih fatih commented Jun 15, 2014

  • Add a new CLI constructor for easy building.
  • Add Name and Version fields for a more advanced usage.
  • Add support for inbuilt -v/--version just like we have for -h/--help
  • Improve README.md. Add an example for the new constructor.
  • Add Godoc.org badge for easy access of docs.
  • Add tests for -v/-version handling

* Add a new CLI constructor for easy building.
* Add `Name` and `Version` fields for a more advanced usage.
* Add support for inbuilt -v/--version just like we have for -h/--help
* Improve README.md. Add an example for the new constructor.
* Add Godoc.org badge for easy access of docs.
* Add tests for -v/-version handling
@mitchellh
Copy link
Owner

This looks great! Thank you.

mitchellh added a commit that referenced this pull request Jun 18, 2014
cli: add CLI constructor, support --version, improvements
@mitchellh mitchellh merged commit d6f0b1a into mitchellh:master Jun 18, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants