Commit 018f332
committed
refactor: improve manual commit workflow and UX
• Skip file preview when all required fields provided via CLI
• Preserve and display original command for manual commits
• Fix optional body prompt triggering in direct commit path
• Add --body option to commit command with help text
• Improve error handling for unquoted CLI arguments
• Refactor commit action into two paths: direct (complete) and interactive (incomplete)1 parent 4b71dcc commit 018f332
File tree
4 files changed
+364
-93
lines changed- src
- cli/commands
- commit
4 files changed
+364
-93
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
21 | 33 | | |
0 commit comments