Skip to content

feat(btw_this): Add consistent @command args... syntax for more commands - #113

Merged
gadenbuie merged 3 commits into
mainfrom
feat/65-character-command-syntax
Oct 22, 2025
Merged

gadenbuie merged 3 commits into
mainfrom
feat/65-character-command-syntax

Conversation

@gadenbuie

Copy link
Copy Markdown
Collaborator

Fixes #65

Summary

Refactored btw_this.character() to support a consistent @command args syntax across all special character strings, while maintaining existing syntax ({pkg}, ?topic, ./path).

What's New

New Commands:

  • @pkg <package> - Get package help topics and vignette (alternative to {pkg})
  • @help <topic> - Flexible help lookup supporting:
    • @help dplyr::mutate (pkg::topic)
    • @help dplyr mutate (space-separated)
    • @help mutate (topic only)
  • @git status [staged|unstaged|both] - Show git repository status
  • @git diff [ref] - Show git changes (default: unstaged)
  • @git log [ref] [max] - Show commit history (default: HEAD, 10 commits)
  • @issue <ref> - Fetch GitHub issues with auto-repo detection
    • Formats: #65, 65, owner/repo#65, owner/repo 65
  • @pr <ref> - Fetch GitHub pull requests with auto-repo detection

@gadenbuie
gadenbuie merged commit 6806f0d into main Oct 22, 2025
11 checks passed
@gadenbuie
gadenbuie deleted the feat/65-character-command-syntax branch October 22, 2025 21:06
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.

Consistent @command args... syntax for all special character strings

1 participant