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

feat(editor): allow to pass a context #204

Merged
merged 2 commits into from
Oct 7, 2024
Merged

feat(editor): allow to pass a context #204

merged 2 commits into from
Oct 7, 2024

Conversation

caarlos0
Copy link
Member

@caarlos0 caarlos0 commented Oct 4, 2024

  • renamed function from Cmd to Command to be more similar to the exec's API
  • added a CommandContext that accepts a context as well, also like exec's API
  • deprecated old Cmd function

@caarlos0 caarlos0 added the enhancement New feature or request label Oct 4, 2024
@caarlos0 caarlos0 self-assigned this Oct 4, 2024
@caarlos0 caarlos0 merged commit 7cc13b2 into main Oct 7, 2024
7 checks passed
@caarlos0 caarlos0 deleted the ctx branch October 7, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant