Closed ybert closed 3 years ago
This is indeed not supported.
@driesvints It was supported in previous version of Envoy (1.*) It seems Hyphen case is not supported. So we have to name our variables like --appdir or --releasepath Its not very readable.
If you can come up with a PR that implements this in a clean way we may consider it.
@ybert, use --app-dir
to call in code $app_dir
or $appDir
Description:
It seems that it is not possible to set snake case variables for envoy run deploy
Steps To Reproduce:
Envoy.blade.php :
When I run
vendor/bin/envoy run deploy --user=www --host=staging.company.com --app_dir=/home/www/public
I getERROR: $app_dir var empty or not defined
So it seems that it works perfectly with non snake case variables like --user or --host but not with --app_dir