Closed bjohas closed 4 years ago
I cannot find a branch relating to this.
I always name branches after the issue name -- this change is on branch gh-89
: https://github.com/edtechhub/zotero-cli/blob/gh-89/bin/zotero-cli.ts#L64
Have you pulled before trying to switch to the branch?
A quick way to test the current state without going through a build step (although that should just work) is to run npm start -- <any other parameters you would otherwise use>
. Just running npm start
will show the usage, which on gh-89
looks like this:
usage: zotero-cli.ts [-h] [--api-key API_KEY] [--config CONFIG]
[--user-id USER_ID] [--group-id GROUP_ID]
[--indent INDENT] [--out OUT] [--verbose]
{attachment,collection,collections,create-item,fields,get,item,items,key,publications,searches,tags,trash,types,update-item}
...
zotero-cli.ts: error: too few arguments
Is there a lib I can safely test against?
Safely test the --out? That should be non-descructive, right?
Or do you mean for the other scripts?
No just safely test anything.
I have an API testing library - let me add you.
gh-89 - great. I looked for gh-98 :)
This issue can be closed.
It would be good to have an
--out file.json
option that redirects outputs to a file called file.json.