Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions BaCkUp/package.210104.0001.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"name": "zotero-cli",
"version": "1.0.6",
"description": "Command line for interacting with Zotero libraries",
"main": "bin/zotero-cli.js",
"preferGlobal": true,
"bin": {
"zotero-cli": "./bin/zotero-cli.js"
},
"scripts": {
"start": "ts-node bin/zotero-cli.ts",
"preversion": "npm test",
"postversion": "git push --follow-tags",
"test": "tslint -t stylish --project .",
"build": "tsc && chmod +x bin/*.js",
"prepublishOnly": "npm run build",
"go": "npm run build && npm version patch && npm publish",
"publish:patch": "npm run build; npm version patch; npm publish; git push --tags",
"publish:minor": "npm run build; npm version minor; npm publish; git push --tags",
"publish:major": "npm run build; npm version major; npm publish; git push --tags"
"fixed": "npm test && npm run build && git add bin && git commit -m \"fixes #$FIXED\" && git push"
},
"repository": {
"type": "git",
"url": "git+https://github.com/opendeved/zotero-cli.git"
},
"keywords": [
"zotero"
],
"author": "opendeved",
"license": "ISC",
"bugs": {
"url": "https://github.com/opendeved/zotero-cli/issues"
},
"homepage": "https://github.com/opendeved/zotero-cli#readme",
"devDependencies": {
"@types/node": "^13.11.1",
"ts-node": "^8.8.2",
"tslint": "^6.1.1",
"typescript": "^3.8.3"
},
"dependencies": {
"@iarna/toml": "^2.2.3",
"ajv": "^6.12.0",
"argparse": "^1.0.10",
"docstring": "^1.1.0",
"dotenv": "^8.2.0",
"http-link-header": "^1.0.2",
"md5-file": "^5.0.0",
"request": "^2.88.2",
"request-promise": "^4.2.5"
},
"files": [
"package.json",
"bin/zotero-cli.d.ts",
"bin/zotero-cli.js",
"docs/COMMANDS.md",
"README.md"
]
}
60 changes: 60 additions & 0 deletions BaCkUp/package.210104.0002.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"name": "zotero-cli",
"version": "1.0.6",
"description": "Command line for interacting with Zotero libraries",
"main": "bin/zotero-cli.js",
"preferGlobal": true,
"bin": {
"zotero-cli": "./bin/zotero-cli.js"
},
"scripts": {
"start": "ts-node bin/zotero-cli.ts",
"preversion": "npm test",
"postversion": "git push --follow-tags",
"test": "tslint -t stylish --project .",
"build": "tsc && chmod +x bin/*.js",
"prepublishOnly": "npm run build",
"go": "npm run build && npm version patch && npm publish",
"publish:patch": "npm run build; npm version patch; npm publish; git push --tags",
"publish:minor": "npm run build; npm version minor; npm publish; git push --tags",
"publish:major": "npm run build; npm version major; npm publish; git push --tags",
"fixed": "npm test && npm run build && git add bin && git commit -m \"fixes #$FIXED\" && git push"
},
"repository": {
"type": "git",
"url": "git+https://github.com/opendeved/zotero-cli.git"
},
"keywords": [
"zotero"
],
"author": "opendeved",
"license": "ISC",
"bugs": {
"url": "https://github.com/opendeved/zotero-cli/issues"
},
"homepage": "https://github.com/opendeved/zotero-cli#readme",
"devDependencies": {
"@types/node": "^13.11.1",
"ts-node": "^8.8.2",
"tslint": "^6.1.1",
"typescript": "^3.8.3"
},
"dependencies": {
"@iarna/toml": "^2.2.3",
"ajv": "^6.12.0",
"argparse": "^1.0.10",
"docstring": "^1.1.0",
"dotenv": "^8.2.0",
"http-link-header": "^1.0.2",
"md5-file": "^5.0.0",
"request": "^2.88.2",
"request-promise": "^4.2.5"
},
"files": [
"package.json",
"bin/zotero-cli.d.ts",
"bin/zotero-cli.js",
"docs/COMMANDS.md",
"README.md"
]
}
57 changes: 57 additions & 0 deletions BaCkUp/package.210104.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"name": "zotero-cli",
"version": "1.0.6",
"description": "Command line for interacting with Zotero libraries",
"main": "bin/zotero-cli.js",
"preferGlobal": true,
"bin": {
"zotero-cli": "./bin/zotero-cli.js"
},
"scripts": {
"start": "ts-node bin/zotero-cli.ts",
"preversion": "npm test",
"postversion": "git push --follow-tags",
"test": "tslint -t stylish --project .",
"build": "tsc && chmod +x bin/*.js",
"prepublishOnly": "npm run build",
"go": "npm run build && npm version patch && npm publish",
"fixed": "npm test && npm run build && git add bin && git commit -m \"fixes #$FIXED\" && git push"
},
"repository": {
"type": "git",
"url": "git+https://github.com/opendeved/zotero-cli.git"
},
"keywords": [
"zotero"
],
"author": "opendeved",
"license": "ISC",
"bugs": {
"url": "https://github.com/opendeved/zotero-cli/issues"
},
"homepage": "https://github.com/opendeved/zotero-cli#readme",
"devDependencies": {
"@types/node": "^13.11.1",
"ts-node": "^8.8.2",
"tslint": "^6.1.1",
"typescript": "^3.8.3"
},
"dependencies": {
"@iarna/toml": "^2.2.3",
"ajv": "^6.12.0",
"argparse": "^1.0.10",
"docstring": "^1.1.0",
"dotenv": "^8.2.0",
"http-link-header": "^1.0.2",
"md5-file": "^5.0.0",
"request": "^2.88.2",
"request-promise": "^4.2.5"
},
"files": [
"package.json",
"bin/zotero-cli.d.ts",
"bin/zotero-cli.js",
"docs/COMMANDS.md",
"README.md"
]
}
62 changes: 62 additions & 0 deletions BaCkUp/package.210106.0001.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"name": "zotero-cli",
"version": "1.0.6",
"description": "Command line for interacting with Zotero libraries",
"main": "bin/zotero-cli.js",
"preferGlobal": true,
"bin": {
"zotero-cli": "./bin/zotero-cli.js"
},
"scripts": {
"start": "ts-node bin/zotero-cli.ts",
"preversion": "npm test",
"postversion": "git push --follow-tags",
"test": "tslint -t stylish --project .",
"build": "tsc && chmod +x bin/*.js",
"prepublishOnly": "npm run build",
"go": "npm run build && npm version patch && npm publish",
"publish:patch": "npm run build; npm version patch; npm publish; git push --tags",
"publish:minor": "npm run build; npm version minor; npm publish; git push --tags",
"publish:major": "npm run build; npm version major; npm publish; git push --tags",
"fixed": "npm test && npm run build && git add bin && git commit -m \"fixes #$FIXED\" && git push"
},
"repository": {
"type": "git",
"url": "git+https://github.com/opendeved/zotero-cli.git"
},
"keywords": [
"zotero"
],
"author": "opendeved",
"license": "ISC",
"bugs": {
"url": "https://github.com/opendeved/zotero-cli/issues"
},
"homepage": "https://github.com/opendeved/zotero-cli#readme",
"devDependencies": {
"@types/node": "^13.11.1",
"ts-node": "^8.8.2",
"tslint": "^6.1.1",
"typescript": "^3.8.3",
"zotero-cli": "^1.0.1"
},
"dependencies": {
"@iarna/toml": "^2.2.3",
"ajv": "^6.12.0",
"argparse": "^2.0.1",
"docstring": "^1.1.0",
"dotenv": "^8.2.0",
"http-link-header": "^1.0.2",
"md5-file": "^5.0.0",
"request": "^2.88.2",
"request-promise": "^4.2.5",
"zotero-lib": "^1.0.5"
},
"files": [
"package.json",
"bin/zotero-cli.d.ts",
"bin/zotero-cli.js",
"docs/COMMANDS.md",
"README.md"
]
}
62 changes: 62 additions & 0 deletions BaCkUp/package.210106.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"name": "zotero-cli",
"version": "1.0.6",
"description": "Command line for interacting with Zotero libraries",
"main": "bin/zotero-cli.js",
"preferGlobal": true,
"bin": {
"zotero-cli": "./bin/zotero-cli.js"
},
"scripts": {
"start": "ts-node bin/zotero-cli.ts",
"preversion": "npm test",
"postversion": "git push --follow-tags",
"test": "tslint -t stylish --project .",
"build": "tsc && chmod +x bin/*.js",
"prepublishOnly": "npm run build",
"go": "npm run build && npm version patch && npm publish",
"publish:patch": "npm run build; npm version patch; npm publish; git push --tags",
"publish:minor": "npm run build; npm version minor; npm publish; git push --tags",
"publish:major": "npm run build; npm version major; npm publish; git push --tags",
"fixed": "npm test && npm run build && git add bin && git commit -m \"fixes #$FIXED\" && git push"
},
"repository": {
"type": "git",
"url": "git+https://github.com/opendeved/zotero-cli.git"
},
"keywords": [
"zotero"
],
"author": "opendeved",
"license": "ISC",
"bugs": {
"url": "https://github.com/opendeved/zotero-cli/issues"
},
"homepage": "https://github.com/opendeved/zotero-cli#readme",
"devDependencies": {
"@types/node": "^13.11.1",
"ts-node": "^8.8.2",
"tslint": "^6.1.1",
"typescript": "^3.8.3",
"zotero-cli": "^1.0.1"
},
"dependencies": {
"@iarna/toml": "^2.2.3",
"ajv": "^6.12.0",
"argparse": "^2.0.1",
"docstring": "^1.1.0",
"dotenv": "^8.2.0",
"http-link-header": "^1.0.2",
"md5-file": "^5.0.0",
"request": "^2.88.2",
"request-promise": "^4.2.5",
"zotero-lib": "^1.0.5"
},
"files": [
"package.json",
"bin/zotero-cli.d.ts",
"bin/zotero-cli.js",
"docs/COMMANDS.md",
"README.md"
]
}
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@

A commandline tool to interact with the Zotero API. Developed by [@bjohas](https://github.com/bjohas), [@retorquere](https://github.com/retorquere) and [@a1diablo](https://github.com/a1diablo).

## Installation
Install this tool via
```
npm install -g zotero-cli
```

This tool primarily parses the commandline option, while the API calls are made with https://github.com/OpenDevEd/zotero-api-lib-ts.

## Installation from source
### node

Run the following command to install dependencies
Expand Down
2 changes: 2 additions & 0 deletions bin/BaCkUp/zotero-cli.210106.0001.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
export {};
Loading