@nodaro/cli 1.45.1 → 1.45.3
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 +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ var require_package = __commonJS({
|
|
|
41
41
|
"package.json"(exports$1, module) {
|
|
42
42
|
module.exports = {
|
|
43
43
|
name: "@nodaro/cli",
|
|
44
|
-
version: "1.45.
|
|
44
|
+
version: "1.45.3",
|
|
45
45
|
description: "Command-line interface for Nodaro \u2014 list and run workflows, inspect jobs and executions, manage projects from the terminal.",
|
|
46
46
|
type: "module",
|
|
47
47
|
license: "Apache-2.0",
|
|
@@ -82,11 +82,11 @@ var require_package = __commonJS({
|
|
|
82
82
|
"@inquirer/confirm": "^6.0.12",
|
|
83
83
|
"@inquirer/input": "^5.0.12",
|
|
84
84
|
"@inquirer/select": "^5.1.4",
|
|
85
|
-
"@nodaro/sdk": "^2.
|
|
86
|
-
"@nodaro/shared": "^3.
|
|
85
|
+
"@nodaro/sdk": "^2.61.0",
|
|
86
|
+
"@nodaro/shared": "^3.51.0",
|
|
87
87
|
commander: "^12.1.0",
|
|
88
88
|
picocolors: "^1.1.1",
|
|
89
|
-
"@nodaro/prompts": "^1.
|
|
89
|
+
"@nodaro/prompts": "^1.47.0"
|
|
90
90
|
},
|
|
91
91
|
devDependencies: {
|
|
92
92
|
tsup: "^8.5.0",
|
|
@@ -413,7 +413,7 @@ function saveWorkspace(profileName, workspaceId) {
|
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
// src/client.ts
|
|
416
|
-
var CLI_VERSION = "1.45.
|
|
416
|
+
var CLI_VERSION = "1.45.3" ;
|
|
417
417
|
function buildPublicClient(opts = {}) {
|
|
418
418
|
const { profile } = getProfile(opts.profile);
|
|
419
419
|
return createClient({
|
|
@@ -3176,7 +3176,7 @@ function mediaCommand() {
|
|
|
3176
3176
|
const cmd = new Command("media").description(
|
|
3177
3177
|
"media ingestion + compositing \u2014 pull a social video into storage, trim video/audio, burn captions, still-to-video, slideshow, collage images, overlay layers on an image or timed images on a video, save a URL to storage, probe metadata"
|
|
3178
3178
|
);
|
|
3179
|
-
cmd.command("download <url>").description("download a
|
|
3179
|
+
cmd.command("download <url>").description("download the video behind a link (the video's page, or a direct video file link) into your storage").option("--max-height <px>", "cap the resolution (e.g. 720); omit for best available", (v) => parseInt(v, 10)).option("--section <a-b>", 'fetch ONLY this time range in seconds (e.g. "30-90"); the cut lands on keyframes, so pad and trim after').option("--watch", "stream the download's live progress until it completes").option("--profile <name>").option("--json").addHelpText("after", `
|
|
3180
3180
|
Examples:
|
|
3181
3181
|
$ nodaro media download https://youtu.be/dQw4w9WgXcQ --max-height 720 --watch
|
|
3182
3182
|
$ nodaro media download https://youtu.be/dQw4w9WgXcQ --section 30-90 --watch
|
|
@@ -6096,7 +6096,7 @@ function addRunFlags(cmd) {
|
|
|
6096
6096
|
collectVariadic
|
|
6097
6097
|
).option(
|
|
6098
6098
|
"--example <n>",
|
|
6099
|
-
"1-based example whose pictures fill the optional slots you leave empty (default 1); leave it out on a trend with no example, whose empty optional slots stay as in the original; a Full depth trend uses its default image for the role if one is set, otherwise the original's look"
|
|
6099
|
+
"1-based example, as `trends get` lists its examples, whose pictures fill the optional slots you leave empty (default 1); leave it out on a trend with no example, whose empty optional slots stay as in the original; a Full depth trend uses its default image for the role if one is set, otherwise the original's look"
|
|
6100
6100
|
).option("--details <text>", "your own words (at most 1,000 characters); mention a slot as {slot:<key>}").option("--preview", "a 4-second preview run (only when the trend offers one)").addOption(
|
|
6101
6101
|
new Option("--resolution <r>", "one the trend offers (`trends get`); default its first: 480p, or 720p on a Nodaro Motion Pulse trend").choices([...RESOLUTIONS])
|
|
6102
6102
|
).option("--no-draft", "a full run instead of a draft (a draft is 480p only, and the default there; a Nodaro Motion Pulse trend has none)");
|