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 --yes parameter for rye publish #270

Merged
merged 1 commit into from May 31, 2023
Merged

Conversation

ischaojie
Copy link
Contributor

We should add a parameter for publish command with no prompt, this benefit for some CI environments (They usually can't use prompt).

The word --yes comes from rye self install --yes, I'm not sure this is appropriate.

@mitsuhiko mitsuhiko merged commit 5a53c4f into astral-sh:main May 31, 2023
6 checks passed
@cnpryer
Copy link
Contributor

cnpryer commented Jun 2, 2023

Does --yes make sense for this? The response to "Enter a passphrase (optional)" would be --no here, right?

@ischaojie
Copy link
Contributor Author

Does --yes make sense for this? The response to "Enter a passphrase (optional)" would be --no here, right?

--yes is not just for the passphrase, it means the whole publish will have no prompts.

@mitsuhiko
Copy link
Collaborator

Maybe the name is not perfect, but it's consistent.

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.

None yet

3 participants