Closed mkarsene closed 2 years ago
Hello @mkarsene - you need to use full command name so deploy function --function <functionName>
. In your case, such syntax should work:
serverless deploy function --service my-service --function myFunction
Yes that's right! My bad :P
No worries @mkarsene 🙌
Are you certain it's a bug?
Are you using the latest version?
Is there an existing issue for this?
Issue description
When I run
serverless deploy --service my-service --function myFunction
I get the following:Unrecognized CLI options: "--function"
. I have also triedserverless my-service:deploy --function=myFunction
Service configuration (serverless-compose.yml) content
Command name and used flags
N/A
Command output