Skip to content

main_cli: improve error handling - #29

Merged
JordanYates merged 3 commits into
mainfrom
bugfix/not_found_crash
Jun 30, 2026
Merged

main_cli: improve error handling#29
JordanYates merged 3 commits into
mainfrom
bugfix/not_found_crash

Conversation

@JordanYates

Copy link
Copy Markdown
Contributor
  • Improve CLI tool output on crashes
  • CLI will set --name from the input --path if not explicitly provided

Return an error when an explicitly provided input file is not found,
instead of panicing.

Signed-off-by: Jordan Yates <jordan@embeint.com>
If the decoding fails, use a custom error printer to give nicely
formatted output instead of letting the rust error handler print info.

Assisted-by: GPT-5.5
Signed-off-by: Jordan Yates <jordan@embeint.com>
If `--path` is a file and `--name` is not provided, automatically
populate the value from the filename instead of failing.

Signed-off-by: Jordan Yates <jordan@embeint.com>
@JordanYates
JordanYates merged commit 55fa83a into main Jun 30, 2026
3 checks passed
@JordanYates
JordanYates deleted the bugfix/not_found_crash branch June 30, 2026 03:55
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