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 shell -c for executing calls against the inspec api #683

Merged
merged 1 commit into from
Apr 27, 2016
Merged

Conversation

arlimus
Copy link
Contributor

@arlimus arlimus commented Apr 27, 2016

No description provided.

@arlimus arlimus added the Type: Enhancement Improves an existing feature label Apr 27, 2016
@chris-rock
Copy link
Contributor

Super cool addition @arlimus

@chris-rock chris-rock merged commit 8fec08e into master Apr 27, 2016
@chris-rock chris-rock deleted the dr/cmd branch April 27, 2016 13:56
@aaronlippold
Copy link
Collaborator

where can I find details on the inspec api?

@chris-rock
Copy link
Contributor

@aaronlippold you can now call inspec shell -c 'os.params' which returns the object as a json. We required it to clean up our os detection. (we removed lib/utils/detect.rb). This optimizes the internal behavior. Be aware, that the shell is not yet fully able to show results of a complete describe block

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants