Skip to content

Conversation

@jwhite242
Copy link
Collaborator

Add autoyes flag to cancel command for easier automated usage

Copy link
Collaborator

@doutriaux1 doutriaux1 left a comment

Choose a reason for hiding this comment

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

@jwhite242 this looks good, just a quick question about six.

if args.autoyes:
ok_cancel = "y"
else:
ok_cancel = six.moves.input("Are you sure? [y|[n]]: ")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we still need six here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no, but i'm not gonna rip it out/refactor the cli's inputs on this pr; yanking it is on the todo list, but on the backlog since it's not really a critical issue given it's still working.

@jwhite242 jwhite242 merged commit b8d3f24 into develop Dec 15, 2025
14 checks passed
@jwhite242 jwhite242 deleted the feature/cancel_auto_yes branch December 15, 2025 21:31
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.

3 participants