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

CLI value types #240

Open
com2 opened this issue Apr 28, 2023 · 1 comment
Open

CLI value types #240

com2 opened this issue Apr 28, 2023 · 1 comment

Comments

@com2
Copy link

com2 commented Apr 28, 2023

I need to rebuild a number of services but not all. In lando rebuild --help it gives for --service the option value type [array]:

--service, -s Rebuild only the specified services [array]

but I had no idea what that means nor did I see an example. I tried:
lando rebuild -s appserver,pma,mailhog
but it was seen as one string. It took me a while but then I remembered how a bash array is written and tried:
lando rebuild -s {appserver,pma,mailhog}
That worked. May be you could add an example of this in lando build Documentation or dedicate a page that define these types?

@com2 com2 added the documentation Improvements or additions to documentation label Apr 28, 2023
@pirog pirog transferred this issue from lando/lando Apr 28, 2023
@pirog pirog added Needs Triage and removed documentation Improvements or additions to documentation labels Apr 28, 2023
@pirog
Copy link
Sponsor Member

pirog commented Jun 15, 2023

@com2 good idea, the actual usage for an array is you pass the flag in multiple times, eg lando rebuild -s service1 -s service2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants