Skip to content

replace qprompt with click for new-config#592

Merged
abingham merged 1 commit intomasterfrom
qprompt-click-replacement
Apr 2, 2026
Merged

replace qprompt with click for new-config#592
abingham merged 1 commit intomasterfrom
qprompt-click-replacement

Conversation

@abingham
Copy link
Copy Markdown
Contributor

@abingham abingham commented Apr 2, 2026

No description provided.

import os.path

import qprompt
import click
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

recommend moving the click import into the function that uses it, unless you want it as a hard requirement, if you do then don't forget to add it to the toml where you removed qprompt.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

click has been a hard requirement of cosmic ray for years, so it's already in the pyproject.toml dependencies. Honestly, I've never been a big fan of this feature of new_config(), so this is making me rethinking if the prompting should a) exist and b) be put in the CLI more directly.

@abingham abingham merged commit 952fe4d into master Apr 2, 2026
10 checks passed
@abingham abingham deleted the qprompt-click-replacement branch April 2, 2026 12:42
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