Skip to content

[WIP] Parsing of command-line arguments is broken #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented May 27, 2025

  • Analyze the issues with the jsonpointer command-line tool
  • Understand the differences between v1 and v2 behavior
  • Create test files to verify current behavior
  • Modify bin/jsonpointer to handle both use cases:
    • Make first positional argument a file path by adding backward compatibility
    • Add -e/--expression option for direct pointer expressions
    • Fix the -f/--pointer-file option
    • Add proper error handling for file not found case
  • Update the help text to be clear and unambiguous
  • Test the changes with various input combinations
  • 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 AI and others added 2 commits May 27, 2025 21:23
Co-authored-by: stefankoegl <184196+stefankoegl@users.noreply.github.com>
Co-authored-by: stefankoegl <184196+stefankoegl@users.noreply.github.com>
@stefankoegl
Copy link
Owner

@copilot rebase

Copilot AI and others added 4 commits June 10, 2025 21:22
…ility code

Co-authored-by: stefankoegl <184196+stefankoegl@users.noreply.github.com>
Co-authored-by: stefankoegl <184196+stefankoegl@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jun 10, 2025

@copilot rebase

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

Copilot finished work on behalf of stefankoegl June 10, 2025 21:22
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.

Parsing of command-line arguments is broken
2 participants