Commit 41706e1
committed
Improve wrapper validation and error messages
Address qodo-merge-pro feedback:
- Add --version/-v flag handling to show version at wrapper level
- Validate that first non-flag argument is a Python case file
- Provide clearer error messages for common mistakes:
* Missing case file
* Invalid case file (not .py or doesn't exist)
* Using 'mfc run' syntax
This prevents confusing errors from being passed to the underlying
mfc.sh and gives users immediate, actionable feedback.1 parent 76ac76e commit 41706e1
1 file changed
+29
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
117 | 123 | | |
118 | 124 | | |
119 | 125 | | |
| |||
122 | 128 | | |
123 | 129 | | |
124 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
125 | 154 | | |
126 | 155 | | |
127 | 156 | | |
| |||
0 commit comments