@qaecy/cue-cli 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cue-cli-compare.js +101 -105
- package/cue-cli-sync.js +111 -117
- package/main.js +8458 -1
- package/package.json +4 -4
- package/readme.md +21 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qaecy/cue-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Cue CLI for QAECY platform",
|
|
5
5
|
"main": "main.js",
|
|
6
6
|
"bin": {
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"firebase": "12.4.0",
|
|
22
22
|
"jsonld": "8.3.3",
|
|
23
23
|
"jszip": "3.10.1",
|
|
24
|
-
"n3": "1.
|
|
25
|
-
"oxigraph": "0.
|
|
24
|
+
"n3": "1.26.0",
|
|
25
|
+
"oxigraph": "0.5.0",
|
|
26
26
|
"protobufjs": "7.5.4",
|
|
27
27
|
"spark-md5": "3.0.2",
|
|
28
|
-
"sparqljs": "3.7.
|
|
28
|
+
"sparqljs": "3.7.3",
|
|
29
29
|
"tslib": "2.3.0",
|
|
30
30
|
"uuid": "9.0.0",
|
|
31
31
|
"axios": "1.13.1"
|
package/readme.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Cue CLI tool
|
|
2
|
+
The CLI tool lets you sync a local folder to [Cue](https://cue.qaecy.com) or compare a local folder's content to that on Cue.
|
|
3
|
+
|
|
4
|
+
## Use
|
|
5
|
+
|
|
6
|
+
### Pre-steps
|
|
7
|
+
You need an API key in order to authenticate with the CLI tool.
|
|
8
|
+
|
|
9
|
+
- Go to your [profile page](https://cue.qaecy.com/home/profile) and create an API key.
|
|
10
|
+
- Save the value in the environment variable `CUE_API_KEY` on your system*
|
|
11
|
+
|
|
12
|
+
* You can also specify it using the `--key` flag but it is more convenient and safe to use an environment variable.
|
|
13
|
+
|
|
14
|
+
### What commands?
|
|
15
|
+
- Run `npx @qaecy/cue-cli --help` to list all supported commands.
|
|
16
|
+
- Use the `--help` flag on any command to see all supported flags on that command (eg. `npx @qaecy/cue-cli sync --help`)
|
|
17
|
+
|
|
18
|
+
### Sync a folder
|
|
19
|
+
To sync the current dir to the space with id `<space-id>` under the provider id `d_drive` (provider id is used to distinguish different document sources and if none is provided the default provider is used). The `v`-flag is for verbose logging so we can follow the progress.
|
|
20
|
+
|
|
21
|
+
`npx @qaecy/cue-cli sync -s <space-id> -p . --provider d_drive -v`
|