-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Standardize on the --service argument for all tooling that can target a service #33
Comments
@AaronFeledy i think the reason why we choose |
@pirog That's what I figured, but for the sake of consistency in both the usage and abstracting away the underlying tools, I think it should be --service. |
Maybe best thing would be to add an alias, so both |
I think we would have to do that for backwards compatibility reasons.
…On Tue, Nov 16, 2021 at 6:39 PM Alec Reynolds ***@***.***> wrote:
Maybe best thing would be to add an alias, so both --host or --service
would work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#33>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFOFUAR2FSPLNZYJURRF33UMLTSPANCNFSM5H32RIHQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Sweet, if you're ok with that approach @pirog I'll cook up a PR, seems trivial. |
Huh, the approach I thought would work (adding alias options to the alias array in the tooling definition) didn't work. I'm guessing that there's a core section of Lando's CLI that makes some assumptions around the Failed PR: lando/legacy-cli#64 |
@reynoldsalec so currently the underlying API the the lando cli implements is YARGS and IIRC all that said, i personally think we shouldn't implement these kinds of changes in the current CLI but should probably just tag them as something to consider when we rebase on OCLIF as part of Lando 4 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues. |
v4 |
For just about everything in Lando that allows you to specify a service on which to perform an action, you would use the --service (-s) option. However,
db-import
uses --host for essentially the same effect. If a user (me just now) uses -s out of habit or expectation, the default database service for the recipe gets wiped out by the import since no --host was specified.Lando should standardize on the --service argument for all tooling that can target a service.
The text was updated successfully, but these errors were encountered: