Skip to content

Improve plugin create confirmation prompt#6473

Merged
bentsherman merged 2 commits intomasterfrom
fix-plugin-create-uppercase-confirmation
Oct 13, 2025
Merged

Improve plugin create confirmation prompt#6473
bentsherman merged 2 commits intomasterfrom
fix-plugin-create-uppercase-confirmation

Conversation

@robsyme
Copy link
Collaborator

@robsyme robsyme commented Oct 11, 2025

Summary

  • Accept both uppercase 'Y' and lowercase 'y' in the plugin create confirmation prompt
  • Add clear "Plugin creation aborted." message when user doesn't confirm

Test plan

  • Run nextflow plugin create and enter 'Y' (uppercase) - should proceed with creation
  • Run nextflow plugin create and enter 'n' or any other key - should display abort message

Make the confirmation prompt in 'nextflow plugin create' accept both
lowercase 'y' and uppercase 'Y' for user convenience.

Signed-off-by: Rob Syme <rob.syme@gmail.com>
Display 'Plugin creation aborted.' message when user does not confirm
with 'y' or 'Y', making it clear that the operation was cancelled.

Signed-off-by: Rob Syme <rob.syme@gmail.com>
@netlify
Copy link

netlify bot commented Oct 11, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 6b5e41a
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/68ead95ca4fe9000088b6cc3

@bentsherman bentsherman merged commit 215925c into master Oct 13, 2025
24 checks passed
@bentsherman bentsherman deleted the fix-plugin-create-uppercase-confirmation branch October 13, 2025 14:45
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