Skip to content

Conversation

@zharinov
Copy link
Member

@zharinov zharinov commented Jan 3, 2026

Summary

  • When -q is used with a single positional arg, shift it from query to source
  • Enables ergonomic usage: plotnik exec -q 'Q = ...' app.js instead of requiring both positional args
  • Adds override_usage to show clearer help text for each command variant

Test plan

  • CLI tests pass (cargo test -p plotnik-cli)
  • Manual testing: plotnik exec -q 'Q = (identifier) @id' app.js

@zharinov zharinov enabled auto-merge (squash) January 3, 2026 17:08
@zharinov zharinov merged commit 7a6ee9f into master Jan 3, 2026
4 checks passed
@zharinov zharinov deleted the feat/cli-positional-shift branch January 3, 2026 17:10
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.

2 participants