-
Notifications
You must be signed in to change notification settings - Fork 100
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
Add support for EDITOR with args to commands #1174
Add support for EDITOR with args to commands #1174
Conversation
Looking good, I am slowly moving these utils into https://github.com/nats-io/natscli/blob/main/internal/util/util.go and its test to not pollute this package so much, be great to see these helpers moved there then we're good. Sorry wasn't clear in earlier review about internal |
Some typos also flagged by CI |
Ah makes sense, I will move the new util functions over to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
closes #1173
Add support for EDITOR with args for commands that use EDITOR, like
nats context edit
.This allows users to use something like
code --wait
for their EDITOR.