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 version subcommand #207

Closed
wants to merge 1 commit into from

Conversation

felixfontein
Copy link
Collaborator

Now that we have access to it, let's add the most obvious subcommand :)

@felixfontein felixfontein requested a review from gotmax23 August 30, 2023 05:43
@gotmax23
Copy link
Collaborator

We already have a --version option provided by antsibull_core.args.get_toplevel_parser(). It uses the version from the dist-info metadata instead of antsibull_docs.__version__, though.

@felixfontein
Copy link
Collaborator Author

Meh, I completely forgot about that one...

I guess I should work on a way to pass the real version into that one instead. Right now antsibull-docs --version for me shows 2.0.0a2, which was the current version when I last ran pip install -e...

@felixfontein
Copy link
Collaborator Author

I created ansible-community/antsibull-core#96 to be able to fix this.

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