python-json-pointer
python-json-pointer copied to clipboard
[WIP] Parsing of command-line arguments is broken
- [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 rebase
@copilot rebase
Rebase completed successfully. The branch has been rebased onto the latest master (602d29a).