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 usage & guards #1

Merged
merged 3 commits into from
Feb 12, 2018
Merged

Add usage & guards #1

merged 3 commits into from
Feb 12, 2018

Conversation

SamLR
Copy link
Contributor

@SamLR SamLR commented Feb 12, 2018

This should add a nice usage text for -h as well as some guards for the secret & namespace (as well as a default for the latter).

Sam Cook added 3 commits February 12, 2018 09:56
As recommended by shellcheck wrap variables in double-quotes to avoid
issues with spaces and other characters.
If the namespace is not set use the current context's default instead.
If a secret is not passed raise an error and print usage.
Copy link
Owner

@mveritym mveritym left a comment

Choose a reason for hiding this comment

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

Thank you, I was too lazy to do this 😅

@mveritym mveritym merged commit 01812b7 into mveritym:master Feb 12, 2018
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