Skip to content

Feature: add --indent option to the json command #17

Open

Description

@codepiyusss

Description

format_json already supports indent, but the CLI does not expose it.

Where

fixit/cli.py

Acceptance criteria

  • --indent N flag added (default 2)
  • Test added

How to contribute

Comment on this issue to claim it, then follow CONTRIBUTING.md. If a related xfail test exists, remove its marker in your PR.

Activity

  1. anthony95macias commented on Oct 21, 2026

    @anthony95macias

    Hi! I’d like to add the --indent option to the JSON command, keeping the default at 2 and passing the value to the existing formatter. I’ll also add a CLI test. Can I work on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    easyEasy difficultyfeatureNew command or optiongood first issueGood for newcomers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions