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

inspec shell documentation - Fix #805 #925

Merged
merged 1 commit into from
Aug 19, 2016
Merged

inspec shell documentation - Fix #805 #925

merged 1 commit into from
Aug 19, 2016

Conversation

ksubrama
Copy link

@ksubrama ksubrama commented Aug 16, 2016

fixes #805

@ksubrama
Copy link
Author

ksubrama commented Aug 16, 2016

Note - this is documenting the shell as of #909. It only makes sense once that goes in.

@vjeffrey @stevendanna @arlimus @chris-rock

@ksubrama ksubrama added this to the 0.31.0 milestone Aug 16, 2016
@ksubrama ksubrama added the Type: Enhancement Improves an existing feature label Aug 16, 2016
InSpec Shell Usage
=====================================================

The InSpec interactive shell is a pry based REPL that can be used to quickly run InSpec controls and tests without having to write it to a file. Its functionality is similar to ``chef shell`` - it provides a way to exercise the InSpec DSL, its resources, tests and plugins without having to create a profile or write a test file.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we wrap/fill these lines to a set length? It'll makes diffs easier to read in the future and make it easier to edit in vim/emacs.

Copy link
Contributor

@chris-rock chris-rock Aug 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stevendanna Are you asking for explicit newlines? If I remember correctly, we have not used that so far.

Copy link
Contributor

@chris-rock chris-rock Aug 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we add the link to pry? mabe a link to chef-shell would be cool as well

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stevendanna I wanted to do that initially but none of the other files did it. I didn't know the exact semantics of rst files - so I just went with what the others were doing.

@chris-rock
Copy link
Contributor

Great documentation @ksubrama Lets address the issues and merge it, once #909 is merged

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.

Document InSpec Shell
4 participants