-
Notifications
You must be signed in to change notification settings - Fork 356
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: improve shell cli for optional args [DET-3883] [DET-3886] #1098
feat: improve shell cli for optional args [DET-3883] [DET-3886] #1098
Conversation
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.
Nice! This also fixes an issue I just discovered, which is that it was difficult at best to specify additional options starting with -o
.
Also, commit/PR message: "BREKING" → "BREAKING". |
9a8c334
to
0654d60
Compare
BREAKING CHANGE: Change the format of the ssh options arguments to `det shell start` and `det shell open`. Instead of calling: det shell start --ssh-opt "-XY -o SomeOption='some string'" which has multiple layers of quotes due to a two-step shell tokenizing, now users should call: det shell start -- -XY -o SomeOption="some string" This change also allows us to clean up our internal implementation to avoid relying on shell tokenization internally.
Also changing this PR to inject additional arguments after the ssh host when invoking ssh to solve DET-3886. As a result, |
0654d60
to
a492205
Compare
Looks good! |
* fix: update for error message change in product
* fix: update for error message change in product
* fix: update for error message change in product
* fix: update for error message change in product
BREKING CHANGE: Change the format of the ssh options arguments to
det shell start
anddet shell open
. Instead of calling:which has multiple layers of quotes due to a two-step shell tokenizing,
now users should call:
This change also allows us to clean up our internal implementation to
avoid relying on shell tokenization internally.