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

Create CLI flag to show Bottery version #110

Merged
merged 1 commit into from
Oct 21, 2017
Merged

Create CLI flag to show Bottery version #110

merged 1 commit into from
Oct 21, 2017

Conversation

rougeth
Copy link
Owner

@rougeth rougeth commented Oct 21, 2017

No description provided.

@rougeth rougeth changed the title Create CLI version flag Create CLI flag to show Bottery version Oct 21, 2017
ctx = click.Context(cli, info_name='cli')

# Couldn't use == to compare command output with helper message
# because of a \n at the end :/
Copy link
Collaborator

Choose a reason for hiding this comment

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

In those cases where I don't care about a newline or whitespace, I just strip() one of the sides.

@rougeth rougeth merged commit 1fa3644 into master Oct 21, 2017
@rougeth rougeth deleted the cli-version branch October 21, 2017 22:35
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