Skip to content

Add script IF AND/OR/NOT and noninteractive PROMPT - #617

Merged
baseGame merged 1 commit into
masterfrom
feature/script-prompt-nested-if
Sep 30, 2026
Merged

baseGame merged 1 commit into
masterfrom
feature/script-prompt-nested-if

Conversation

@baseGame

Copy link
Copy Markdown
Collaborator

Summary

  • Nested IF conditions support AND, OR, NOT, and parentheses.
  • New PROMPT verb records a non-interactive answer from a default argument or OPEN_DIFF_SCRIPT_PROMPT_* env var; IF prompted can branch on it.
  • README Planned narrowed to remaining interactive GUI prompts and vendor-specific verbs.

Test plan

  • cargo test -p script-core if_condition_supports
  • cargo test -p script-core prompt_stores_default
  • vitest scriptCommands
  • pre-commit quality
  • CI green on this PR

Support nested expression IF with AND, OR, NOT, and parentheses.
Add PROMPT that records a default or env answer for silent runs,
and document the remaining interactive/vendor dialect corners.
@baseGame
baseGame merged commit 5077683 into master Sep 30, 2026
1 check passed
@baseGame
baseGame deleted the feature/script-prompt-nested-if branch September 30, 2026 09:23
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.

1 participant