python-json-pointer icon indicating copy to clipboard operation
python-json-pointer copied to clipboard

[WIP] Parsing of command-line arguments is broken

Open Copilot opened this issue 9 months ago • 2 comments

  • [x] Analyze the issues with the jsonpointer command-line tool
  • [x] Understand the differences between v1 and v2 behavior
  • [x] Create test files to verify current behavior
  • [x] Modify bin/jsonpointer to handle both use cases:
    • [x] Make first positional argument a file path by adding backward compatibility
    • [x] Add -e/--expression option for direct pointer expressions
    • [x] Fix the -f/--pointer-file option
    • [x] Add proper error handling for file not found case
  • [x] Update the help text to be clear and unambiguous
  • [x] Test the changes with various input combinations
  • [x] Update documentation to reflect the changes

Fixes #43.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot avatar May 27 '25 21:05 Copilot

@copilot rebase

stefankoegl avatar Jun 10 '25 21:06 stefankoegl

@copilot rebase

Rebase completed successfully. The branch has been rebased onto the latest master (602d29a).

Copilot avatar Jun 10 '25 21:06 Copilot