Add option `--fmt` or `--format` which outputs the result to stdout
Open
Beginner friendly
- Dominant language
- Rust
- Stars
- 781
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I want to add `deadnix` to my `dprint` configuration, the problem that `dprint` requires that the command outputs the result to stdout and not change the file directly.
Already `deadnix` generates the output through the `--edit` command, but I want it to print it out.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the CLI entry point and locate the existing --edit option and the code that generates formatted output. Add the requested stdout mode without changing files, then verify that the result is printed to stdout and that the existing --edit behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100