Add a `-d` flag on the command line that dumps currently effective settings
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- rust
- Domain
- cli, developer-experience
Research direction
Look for the CLI argument parsing logic, likely in src/main.rs or a dedicated cli module. The flag should read the final configuration after merging defaults, .gitignore, and command-line arguments. The output should be printed to stdout. Check existing tests for CLI behavior to see how to add a test for the new flag.
Written by the indexing model from the issue text.
Description
I want to suggest adding a -d CLI flag which (initially) dumps the effective flags.
This should reflect the final setting, after evaluating .gitignore, CLI arguments and anything else.
In my case, I am unsure if my max_line_length of 120 is picked up or not but can not verify as the tool does not show what it is working with currently.
Future:
In the future this could be enhanced to a full fledged debug mode flag, which would print more diagnostic data and reasoning why lines are altered.
- Dominant language
- Rust
- Stars
- 458
- Forks
- 40
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GDQuest/GDScript-formatter
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
GDQuest/GDScript-formatter#359 · 9 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GDQuest/GDScript-formatter#327 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
GDQuest/GDScript-formatter#361 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
GDQuest/GDScript-formatter#360 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
GDQuest/GDScript-formatter#354 · 2 comments ·
All issues in GDQuest/GDScript-formatter
Similar issues
-
bug github_actions
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
registrystack/registry-stack#1393 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
longbridge/gpui-kit#3223 ·
-
bug engine
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
rocky-data/rocky#2181 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
oasisprotocol/oasis-sdk#2523 ·
-
[indexer] [QA] Add a focused test for the new NonRetryableError / assertSocketAlive() behavior. Openbot:ai-assisted component:indexer QA-roadmap status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
midnightntwrk/midnight-indexer#1557 ·