Currently Lando will use the project in the lagoon.yml regardless of whether you've specified a different name in the Landofile or with the --name flag on init. I think we'd like to change the flow here:
- On
lando init allow usage of the --name flag and set its default to the project of the lagoon.yml if possible
- If there is already a Landofile in the initialized repo with a name, use that instead of overriding it with the
lagoon.project.
Notes:
- Changing this is likely going to break all our lagoon tests so we will need to refactor them.
Currently Lando will use the
projectin thelagoon.ymlregardless of whether you've specified a different name in the Landofile or with the--nameflag on init. I think we'd like to change the flow here:lando initallow usage of the--nameflag and set its default to theprojectof thelagoon.ymlif possiblelagoon.project.Notes: