Skip to content
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

implement alias #101

Merged
merged 2 commits into from
Sep 10, 2024
Merged

implement alias #101

merged 2 commits into from
Sep 10, 2024

Conversation

wolfv
Copy link
Member

@wolfv wolfv commented Sep 10, 2024

This is a beginning of a pretty straightforward alias function. Alias just substitutes the first arg in a list of args if there is a match.

@wolfv
Copy link
Member Author

wolfv commented Sep 10, 2024

Note: I think the implementation should actually be moved to the "deno_task_shell" crate.

@certik
Copy link
Collaborator

certik commented Sep 10, 2024

Looks good. We should add tests for this too (after #82 is fixed).

@wolfv wolfv merged commit 648cbd4 into main Sep 10, 2024
4 checks passed
@wolfv wolfv deleted the alias branch September 10, 2024 21:09
@certik certik mentioned this pull request Sep 11, 2024
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