docs icon indicating copy to clipboard operation
docs copied to clipboard

CLI value types

Open com2 opened this issue 2 years ago • 1 comments

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 avatar Apr 28 '23 10:04 com2