@lotics/cli 0.318.36 → 0.318.38
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/README.md +1 -0
- package/dist/src/cli.js +247 -191
- package/dist/src/client.d.ts +38 -1
- package/dist/src/client.js +128 -68
- package/docs/cli_reference.md +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -331,6 +331,7 @@ import { LoticsClient } from "@lotics/cli";
|
|
|
331
331
|
|
|
332
332
|
const client = new LoticsClient({ apiKey: "ltk_..." });
|
|
333
333
|
|
|
334
|
+
// Every call waits for the server's answer. The client's `timeoutMs` (not an argument of `execute`) stops the wait. A call that writes and gets no answer throws `OutcomeUnknownError`, carrying `request_id`; a read throws `NoAnswerError`.
|
|
334
335
|
const { result } = await client.execute("get_workspace", {});
|
|
335
336
|
const upload = await client.uploadFiles(["./report.pdf", "./data.csv"]);
|
|
336
337
|
await client.downloadFile(url, "./output.xlsx");
|