casey / casey/just

Consider including failing command in error message

Open
#1,722 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
35.8k
Forks
846
Avg merge
27m
Merged PRs (30d)
3

Description

Commands are echoed, so finding the last command that was run before an error is possible. However, if the last command produced a lot of output, this can be difficult. To make this slightly easier, we could include the failing command in the error message, either always, or just when `--verbose` is set.

This is an issue that I personally haven't run into, so feedback on whether or not this would be helpful is appreciated!

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by tracing how just echoes commands and formats errors, then compare the always-on and --verbose alternatives; done requires a decided behavior for including the failing command and tests covering the selected wording.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.