Github user robertkowalski commented on the pull request:
https://github.com/apache/couchdb-nmo/pull/14#issuecomment-162877476
leaving one argument off:
```
(14:19:45) [robert@tequila-work] ~/apache/couchdb-nmo (pr/14) $
./bin/nmo-cli.js query anemone restaurants
ERR! argument must be an object
ERR! AssertionError: argument must be an object
ERR! at /Users/robert/apache/couchdb-nmo/lib/utils.js:70:22
ERR! at Promise._execute
(/Users/robert/apache/couchdb-nmo/node_modules/bluebird/js/release/debuggability.js:159:9)
ERR! at Promise._resolveFromExecutor
(/Users/robert/apache/couchdb-nmo/node_modules/bluebird/js/release/promise.js:460:18)
ERR! at new Promise
(/Users/robert/apache/couchdb-nmo/node_modules/bluebird/js/release/promise.js:76:14)
ERR! at sendJsonToNode
(/Users/robert/apache/couchdb-nmo/lib/utils.js:69:10)
ERR! at /Users/robert/apache/couchdb-nmo/lib/query.js:86:31
ERR! at Promise._execute
(/Users/robert/apache/couchdb-nmo/node_modules/bluebird/js/release/debuggability.js:159:9)
ERR! at Promise._resolveFromExecutor
(/Users/robert/apache/couchdb-nmo/node_modules/bluebird/js/release/promise.js:460:18)
ERR! at new Promise
(/Users/robert/apache/couchdb-nmo/node_modules/bluebird/js/release/promise.js:76:14)
ERR! at query (/Users/robert/apache/couchdb-nmo/lib/query.js:84:10)
ERR! at /Users/robert/apache/couchdb-nmo/lib/query.js:65:17
ERR! at Promise._execute
(/Users/robert/apache/couchdb-nmo/node_modules/bluebird/js/release/debuggability.js:159:9)
ERR! at Promise._resolveFromExecutor
(/Users/robert/apache/couchdb-nmo/node_modules/bluebird/js/release/promise.js:460:18)
ERR! at new Promise
(/Users/robert/apache/couchdb-nmo/node_modules/bluebird/js/release/promise.js:76:14)
ERR! at cli (/Users/robert/apache/couchdb-nmo/lib/query.js:31:10)
ERR! at /Users/robert/apache/couchdb-nmo/bin/nmo-cli.js:34:6
ERR!
ERR!
ERR! nmo: 1.1.0 node: v4.2.1
ERR! please open an issue including this log on
https://github.com/robertkowalski/nmo/issues
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---