Commit f2a893e
fix(cli): address Codex review — legacy shim, print_help, repeatable -p
1. _LegacyParserShim.parse_args() no longer executes commands — returns
a namespace with func that can be called separately, matching the
old argparse parse-then-execute pattern.
2. print_help() now outputs the help text (was discarding CliRunner output).
3. upload_model alias -p flag is now Optional[list[str]] to preserve the
repeatable action='append' behavior for multi-project deployments.
374 tests pass, all linting clean.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3f87418 commit f2a893e
2 files changed
Lines changed: 53 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
138 | | - | |
139 | | - | |
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
143 | | - | |
144 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
145 | 180 | | |
146 | | - | |
147 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
148 | 187 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
| 188 | + | |
153 | 189 | | |
154 | 190 | | |
155 | 191 | | |
156 | 192 | | |
157 | | - | |
| 193 | + | |
158 | 194 | | |
159 | | - | |
160 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
161 | 199 | | |
162 | 200 | | |
163 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
0 commit comments