Skip to content

feat: add alias property#40

Closed
kvoon3 wants to merge 6 commits into
antfu:mainfrom
kvoon3:feat/command-alias
Closed

feat: add alias property#40
kvoon3 wants to merge 6 commits into
antfu:mainfrom
kvoon3:feat/command-alias

Conversation

@kvoon3

@kvoon3 kvoon3 commented Jun 22, 2025

Copy link
Copy Markdown
Contributor

Description

Add alias for flexible command pattern matching

Could be useful in vscode-eslint-codemod

@netlify

netlify Bot commented Jun 22, 2025

Copy link
Copy Markdown

Deploy Preview for resonant-bonbon-a310e6 ready!

Name Link
🔨 Latest commit ea37334
🔍 Latest deploy log https://app.netlify.com/projects/resonant-bonbon-a310e6/deploys/685a0d7122c8c50008fc84c5
😎 Deploy Preview https://deploy-preview-40--resonant-bonbon-a310e6.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@antfu

antfu commented Jun 22, 2025

Copy link
Copy Markdown
Owner

I think we should also add support for reading it in accompany with the regex, otherwise being a docs-only attribute, it would be confusing and easy to misalign with the actually funtionaility

@kvoon3

kvoon3 commented Jun 23, 2025

Copy link
Copy Markdown
Contributor Author

I added a defineAlias function and use it in the alias getter - not sure if this approach is optimal

@kvoon3 kvoon3 closed this Jul 1, 2025
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