-
Notifications
You must be signed in to change notification settings - Fork 112
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
Start of CLI guide. #147
Start of CLI guide. #147
Conversation
TODO: - Add in ChefDK materials - Clean MD syntax
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor suggestion but looks good otherwise.
I do think in the future it would be nice to auto-generate this as a copy of the help text somehow so they do not get out of sync
For example: | ||
|
||
``` | ||
chef-run web01 service nginx action=restart |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think one of these examples should be only service nginx
without any properties, and we should also specify some non action properties. Perhaps
chef-run web01 service nginx
chef-run web01,web02 service nginx action=restart
chef-run web[1:2] service nginx priority=20 action=stop
-i, --identity-file PATH SSH identity file to use when connecting. | ||
--[no-]install Install Chef client on the target host(s) if it is not installed. | ||
This defaults to enabled - the installation will be performed | ||
if there is no Chef client on the target(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that the sudo branch has merged, these options need refreshing.
updating to reflect the sudo changes.
TODO: