@erdoai/cli 0.256.0 → 0.257.0
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11574,7 +11574,7 @@ knowledgeCmd.command("delete <id>").description("Delete a Knowledge object you c
|
|
|
11574
11574
|
});
|
|
11575
11575
|
knowledgeCmd.command("attach <objectId> [file]").description(
|
|
11576
11576
|
"Attach an image or other small binary to a knowledge object as an org-hosted asset, and print its asset id \u2014 the value a page's assetId field takes. Pass a local path, or --url to have the service download it (the only path for video)."
|
|
11577
|
-
).option("--url <sourceUrl>", "download
|
|
11577
|
+
).option("--url <sourceUrl>", "download a public file URL or SharePoint, OneDrive, Dropbox or Google Drive file share link").addOption(new Option2("--caption <text>", "caption describing the attachment").conflicts("description")).option("--role <prefix>", "filename role prefix, e.g. customer-logo; already prefixed names are preserved").option(
|
|
11578
11578
|
"-d, --description <text>",
|
|
11579
11579
|
"caption for the asset; for an image this is the only text search can match, so describe what is in the picture"
|
|
11580
11580
|
).option("--media-type <mime>", "MIME type hint, e.g. image/jpeg; detected from the filename otherwise").action(
|