Skip to content

feat: Auto-detect file type in ast command by extension#366

Merged
zharinov merged 1 commit intomasterfrom
feat/ast-auto-detect
Jan 26, 2026
Merged

feat: Auto-detect file type in ast command by extension#366
zharinov merged 1 commit intomasterfrom
feat/ast-auto-detect

Conversation

@zharinov
Copy link
Member

Summary

  • plotnik ast <FILE> now auto-detects by extension: .ptk → query AST, otherwise → source AST
  • Updated help text to reflect new usage pattern

Why

Simplifies UX - users don't need to remember separate flags for query vs source files when viewing AST of a single file.

@zharinov zharinov enabled auto-merge (squash) January 20, 2026 02:51
@zharinov zharinov disabled auto-merge January 26, 2026 02:53
@zharinov zharinov enabled auto-merge (squash) January 26, 2026 02:53
@zharinov zharinov disabled auto-merge January 26, 2026 02:56
@zharinov zharinov merged commit 9817056 into master Jan 26, 2026
3 checks passed
@zharinov zharinov deleted the feat/ast-auto-detect branch January 26, 2026 02:57
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.

1 participant