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

[v3.20.2] Verbose output when only expecting version? #220

Closed
uberhacker opened this issue Oct 2, 2023 · 2 comments · Fixed by #224
Closed

[v3.20.2] Verbose output when only expecting version? #220

uberhacker opened this issue Oct 2, 2023 · 2 comments · Fixed by #224

Comments

@uberhacker
Copy link
Contributor

$ lando php -v
  lando starting 'lando' version '3.20.2' runtime selector... +0ms
  lando merged in additional config source from file '/home/ed/lando-cli/config.yml' +33ms
  lando merged in additional config source from file '/home/ed/.lando/config.yml' +0ms
  lando merged in additional config source from 'LANDO_*' envvars with data {} +0ms
  lando final assembled minconf is {
  lando   configSources: [ '/home/ed/lando-cli/config.yml', '/home/ed/.lando/config.yml' ],
  lando   envPrefix: 'LANDO',
  lando   landoFile: '.lando.yml',
  lando   preLandoFiles: [
  lando     '.lando.base.yml',
  lando     '.lando.dist.yml',
  lando     '.lando.recipe.yml',
  lando     '.lando.upstream.yml'
  lando   ],
  lando   postLandoFiles: [ '.lando.local.yml', '.lando.user.yml' ],
  lando   runtime: 3,
  lando   srcRoot: '/home/ed/lando-cli',
  lando   userConfRoot: '/home/ed/.lando',
  lando   product: 'lando',
  lando   hyperdrive: 'hyperdrive',
  lando   channel: 'stable',
  lando   domain: 'lndo.site',
  lando   mode: 'cli',
  lando   stats: [ { report: true, url: 'https://metrics.lando.dev' } ],
  lando   orchestratorBin: '/usr/local/bin/docker-compose'
  lando } +1ms
  lando detected an app 'myapp' at '/home/ed/projects/myapp' +16ms
  lando using '@lando/core' runtime version 3 +0ms
  lando starting lando with 'v3' runtime using cli { ENVPREFIX: undefined, LOGLEVELCONSOLE: 4, USERCONFROOT: undefined, COREBASE: '@lando/core' } +62ms
PHP 8.1.18 (cli) (built: May  3 2023 06:03:00) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.18, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.18, Copyright (c), by Zend Technologies
@uberhacker
Copy link
Contributor Author

Expected behavior is output correctly with lando ssh -c 'php -v'.

@pirog
Copy link
Member

pirog commented Oct 6, 2023

@uberhacker yah, maybe it would be best to suppress this behavior on Lando 3 until we have the Lando 3 arg parser fully dialed.

@pirog pirog linked a pull request Oct 6, 2023 that will close this issue
@pirog pirog closed this as completed in #224 Oct 6, 2023
pirog added a commit that referenced this issue Oct 6, 2023
* #220: suppress autodebugging on lando 3 for now

* speed up for debug

* Revert "speed up for debug"

This reverts commit 3f17b57.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants