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

feat(openssl): Stop having subcommands hardcoded #1256

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

yedayak
Copy link
Collaborator

@yedayak yedayak commented Oct 30, 2024

Instead we get the command list by parsing openssl help, which also adds some subcommands that were missing, and removes some non-existant ones (at least on versions I have).
The parsing only happens when it's necessary, when the subcommand wasn't chosen.

completions/openssl Outdated Show resolved Hide resolved
test/t/test_openssl.py Show resolved Hide resolved
Instead we get the command list by parsing openssl help, which also adds
some subcommands that were missing, and removes some non-existant ones
(at least on versions I have).
The parsing only happens when it's necessary, when the subcommand wasn't
chosen.
Copy link
Owner

@scop scop left a comment

Choose a reason for hiding this comment

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

Thanks!

@scop scop merged commit 300b936 into scop:main Nov 1, 2024
7 checks passed
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