-
Notifications
You must be signed in to change notification settings - Fork 199
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
Change command output format to JSON #592
Comments
While looking into this i found another issue related to logging in invoke
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a Feature Proposal
Description
We have a use case where we call serverless framework from a language other than JS. for
serverless invoke stepf...
the output is a javascript object string (properties are not quoted)This means that regular JSON parsers will break and you will need some JS interpreter in the middle to get a proper JSON out of this
i propose a new optional flag for all commands
--jsonOutput
/--output json
that will tell the command that it needs to run its result throughJSON.stringify
before printing it to stdout/stderrAdditional Data
The text was updated successfully, but these errors were encountered: