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 dryrun flag #57

Merged
merged 1 commit into from
Dec 31, 2016
Merged

add dryrun flag #57

merged 1 commit into from
Dec 31, 2016

Conversation

bcaldwell
Copy link
Owner

v) _devctl_verbose=0 ;;
esac
done
# local _devctl_verbose=1
Copy link
Collaborator

Choose a reason for hiding this comment

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

was this an attempt to add flags to shell?

Copy link
Owner Author

Choose a reason for hiding this comment

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

haha ya

)

// DryRun set dryrun mode. Commands will be printed and not run
var DryRun = false
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we need to set this to false? Does the flag set it to the correct version if we have the flag on the command?

Copy link
Owner Author

Choose a reason for hiding this comment

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

just set it to false as the default. It gets set externally based on flags passed into the devctl command

Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

@karanthukral
Copy link
Collaborator

Just a couple of questions.. Rest looks good to me

@bcaldwell bcaldwell merged commit c8a4888 into master Dec 31, 2016
@bcaldwell bcaldwell deleted the feature/dryrun branch December 31, 2016 16:44
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.

2 participants