We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
user-create
$ node lib/bin/cli.js --email someone@example.com user-create { email: 'someone@example.com', id: 123, type: 'user', displayName: 'someone@example.com', createdAt: 2023-09-13T00:00:00.001Z, updatedAt: null, deletedAt: null }
user-promote
$ node lib/bin/cli.js --email someone@example.com user-promote '{"success":true}'
user-set-password
$ node lib/bin/cli.js --email someone@example.com user-set-password prompt: password: ****************** '{"success":true}'
I think helpful output would be either:
The text was updated successfully, but these errors were encountered:
The inconsistency comes from the behaviour of the serialize() function in lib/util/http.js. It may not be helpful to use this function for CLI tasks.
serialize()
lib/util/http.js
Sorry, something went wrong.
Make output formats more explicit
d870f39
* only call jsonSerialize() for HTTP output when it is required * always output JSON from task.run() Closes getodk#979
Make output formats more explicit (#1110)
4677e02
* only call jsonSerialize() for HTTP output when it is required * always output JSON from task.run() Closes #979
alxndrsn
Successfully merging a pull request may close this issue.
Observed
user-create
- javascriptuser-promote
- JSON inside quotesuser-set-password
- JSON inside quotesExpected
I think helpful output would be either:
The text was updated successfully, but these errors were encountered: