I went from 2.28.0 to 2.30.1 today. When the following worked before:
`sls invoke local --function conv-get --verbose -l --env MAIN_CLASS=com.genesys.baldrHttpLambda.FunctionConfiguration --env environment=mock ...`
it now causes the following error:
`Unexpected multiple "--env"`
Can someone tell me what the new expectation is for specifying values of multiple environment variables? Thanks!
(edit)
The help documentation is not much help either. In fact, incorrect:
./node_modules/serverless/bin/serverless.js invoke local --help
Invoke
invoke local .................. Invoke function locally
--function / -f (required) ......... Name of the function
--path / -p ........................ Path to JSON or YAML file holding input data
--data / -d ........................ input data
--raw .............................. Flag to pass input data as a raw string
--context .......................... Context of the service
--contextPath / -x ................. Path to JSON or YAML file holding context data
--env / -e ......................... Override environment variables. e.g. --env VAR1=val1 --env VAR2=val2
--docker ........................... Flag to turn on docker use for node/python/ruby/java
--docker-arg ....................... Arguments to docker run command. e.g. --docker-arg "-p 9229:9229"
--config / -c ...................... Path to serverless config file
--stage / -s ....................... Stage of the service
--region / -r ...................... Region of the service
--app .............................. Dashboard app
--org .............................. Dashboard org
--use-local-credentials ............ Rely on locally resolved AWS credentials instead of loading them from Dashboard provider settings (applies only to services integrated with Dashboard)
--help / -h ........................ Show this message