Skip to content

Conversation

@sashazykov
Copy link
Owner

@sashazykov sashazykov commented Dec 5, 2024

Fixes #1


For more details, open the Copilot Workspace session.

@sashazykov sashazykov requested a review from Copilot May 20, 2025 16:08
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a command-line interface to repair broken JSON input using the existing JSON::Repair library.

  • Introduces a new executable at exe/json-repair that reads from standard input and outputs repaired JSON.
  • Adds an RSpec test in spec/cli_spec.rb to validate the CLI functionality.
  • Updates README.md with instructions and an example on how to use the CLI.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
spec/cli_spec.rb Adds an RSpec test to assert that the CLI correctly repairs broken JSON input.
exe/json-repair Implements the CLI by invoking JSON.repair on input from standard input.
README.md Documents the new CLI functionality with usage examples and instructions.

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.

Command Line Interface

2 participants