Skip to content

Warn when prompt file overrides inline prompt#19

Merged
baranylcn merged 1 commit into
PracticalMind:mainfrom
MuhammedSenn:fix-prompt-file-warning
Jun 6, 2026
Merged

Warn when prompt file overrides inline prompt#19
baranylcn merged 1 commit into
PracticalMind:mainfrom
MuhammedSenn:fix-prompt-file-warning

Conversation

@MuhammedSenn

Copy link
Copy Markdown
Contributor

Summary

  • Warn when both an inline prompt and --prompt-file are provided
  • Keep --prompt-file precedence behavior unchanged
  • Add CLI regression test for the warning

Tests

  • pytest tests/test_cli.py

Fixes #16

@baranylcn baranylcn self-requested a review June 6, 2026 11:17
@baranylcn baranylcn merged commit 44b04d4 into PracticalMind:main Jun 6, 2026
2 checks passed
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.

ux: warn when both a positional prompt and --prompt-file are provided

2 participants