I'm trying to pass the description from my package.json file up to AWS. The package description is a string like so:
"description": "A simple hello world from my web app",
And the npm script calls the aws command line and needs a description for the Lambda function:
"scripts": {
"create": "aws lambda create-function --function-name $npm_package_name --description $npm_package_description
}
But $npm_package_description
ends up becoming multiple parameters in the aws call. How do I pass the result of $npm_package_description as a string?
This is the error I get, by the way:
Unknown options: A, simple, hello, world, from, my, web, app