-
Notifications
You must be signed in to change notification settings - Fork 15
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
unrecognized CLI options: "--stage" when running "sls myService:doctor" #151
Comments
Hey @timo92 - thanks for reporting and sorry you've run into trouble. That's true this is the case, but the thing is, |
Hey @pgrzesik, thank you for getting back to me and clearing up the functionallity of
and then running
Not sure whether you want to support it or mention it in the documentation. Either could be helpful when being faced with the suggestion to run |
I see, I think I have a solution for it and it will be applied on Framework level (it does triaging how the commands should be handled), it should always assume "non-compose" context for |
Are you certain it's a bug?
Are you using the latest version?
Is there an existing issue for this?
Issue description
When executing
sls myService:doctor
the comand fails with
Currently one has to manually change the working directory and execute the command locally.
Serverless compose seems to add "--stage dev" to all commands per default.
Service configuration (serverless-compose.yml) content
Command name and used flags
serverless myService:doctor
Command output
The text was updated successfully, but these errors were encountered: