Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for "inspec -v" showing the version #1470

Merged
merged 1 commit into from
Feb 7, 2017
Merged

Conversation

adamleff
Copy link
Contributor

@adamleff adamleff commented Feb 7, 2017

The other Chef tooling (chef-client, chef, kitchen, berks, etc.)
support a -v flag to display the version. Currently, inspec
errors out with the following error:

Could not find command "_v".

This adds a Thor map so that -v executes the version command.

The other Chef tooling (chef-client, chef, kitchen, berks, etc.)
support a `-v` flag to display the version. Currently, inspec
errors out with the following error:

```
Could not find command "_v".
```

This adds a Thor map so that `-v` executes the `version` command.

Signed-off-by: Adam Leff <adam@leff.co>
@arlimus
Copy link
Contributor

arlimus commented Feb 7, 2017

Kudos and welcome Adam!

@arlimus arlimus merged commit 0c66bc1 into master Feb 7, 2017
@arlimus arlimus deleted the adamleff/add-dash-v branch February 7, 2017 20:42
@hannah-radish
Copy link
Contributor

Thank you @adamleff !!!

@adamleff
Copy link
Contributor Author

adamleff commented Feb 7, 2017

@hannah-radish ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants