Skip to content

Conversation

@Anonymoo53
Copy link

@Anonymoo53 Anonymoo53 commented Dec 16, 2025

When using the format command, passing the assume option does not trigger the formatting to be conducted in interactive mode, despite the documentation:

"Assumes automatic yes/no as an answer to all prompts and runs non-interactively."

Underlying modules attempt to check for the interactive flag having been set (e.g. https://github.com/Anonymoo53/demisto-sdk/blob/1c9e31da20c2c87e546131158f8687b05b260c33/demisto_sdk/commands/format/update_playbook.py#L325); However, the assume-yes/no arguments do not trigger this to be happen.

This is a simple change to automatically set the interactive flag based upon whether the assume yes/no flag is set.

relates: https://jira-dc.paloaltonetworks.com/browse/CIAC-15445

@Anonymoo53 Anonymoo53 requested a review from a team as a code owner December 16, 2025 17:10
@github-actions github-actions bot added the Contribution Thank you! Contributions are always welcome! label Dec 16, 2025
@github-actions
Copy link

Thank you for your contribution. Your willingness to improve our product and contribute to our community is highly appreciated. For your convenience, here is a link to the contributions SLAs document.

@JasBeilin JasBeilin removed their assignment Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Contribution Thank you! Contributions are always welcome!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants