@barbapapazes/video-toolkit 0.20.1 → 0.20.2

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +1 -1
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{m as e,n as t,r as n,t as r}from"./modules-BG4hzM3o.mjs";import i from"node:process";import{log as a}from"@clack/prompts";import{Command as o}from"commander";var s=`@barbapapazes/video-toolkit`,c=`0.20.1`,l=`CLI toolkit for video processing and thumbnail automation`;const u=new o;u.name(s).description(l).version(c).showHelpAfterError();const d=u.command(`video`);d.description(`Manage video processing workflows`),d.command(`process`).description(`Process an explicit video file`).requiredOption(`--video <path>`,`Direct path to the video file`).option(`--thumbnail-text <text>`,`Optional thumbnail text to generate thumbnails during processing`).option(`--template <nameOrPath>`,`Template name or absolute SVG path used for thumbnail generation`).action(async e=>{await r({videoPath:e?.video,thumbnailText:e?.thumbnailText,templateName:e?.template})}),d.command(`extract-audio <videoPath>`).description(`Extract audio from a video file`).action(async e=>{await n(e)}),d.command(`generate-thumbnail`).description(`Generate thumbnails for an explicit video path`).requiredOption(`--video <path>`,`Direct path to the video file`).requiredOption(`--thumbnail-text <text>`,`Text to render on generated thumbnails`).requiredOption(`--template <nameOrPath>`,`Template name or absolute SVG path used for thumbnail generation`).action(async e=>{await t({videoPath:e?.video,thumbnailText:e?.thumbnailText||``,templateName:e?.template||``})});const f=u.command(`template`);f.description(`Manage thumbnail templates`),f.command(`add <file>`).description(`Add an SVG template to the templates directory`).requiredOption(`--name <name>`,`Template name (lowercase letters, numbers, and hyphens only)`).action(async(t,n)=>{await e(t,n?.name||``)}),u.parseAsync().catch(e=>{a.error(e instanceof Error?e.message:String(e)),i.exit(1)});export{};
2
+ import{m as e,n as t,r as n,t as r}from"./modules-BG4hzM3o.mjs";import i from"node:process";import{log as a}from"@clack/prompts";import{Command as o}from"commander";var s=`@barbapapazes/video-toolkit`,c=`0.20.2`,l=`CLI toolkit for video processing and thumbnail automation`;const u=new o;u.name(s).description(l).version(c).showHelpAfterError();const d=u.command(`video`);d.description(`Manage video processing workflows`),d.command(`process`).description(`Process an explicit video file`).requiredOption(`--video <path>`,`Direct path to the video file`).option(`--thumbnail-text <text>`,`Optional thumbnail text to generate thumbnails during processing`).option(`--template <nameOrPath>`,`Template name or absolute SVG path used for thumbnail generation`).action(async e=>{await r({videoPath:e?.video,thumbnailText:e?.thumbnailText,templateName:e?.template})}),d.command(`extract-audio <videoPath>`).description(`Extract audio from a video file`).action(async e=>{await n(e)}),d.command(`generate-thumbnail`).description(`Generate thumbnails for an explicit video path`).requiredOption(`--video <path>`,`Direct path to the video file`).requiredOption(`--thumbnail-text <text>`,`Text to render on generated thumbnails`).requiredOption(`--template <nameOrPath>`,`Template name or absolute SVG path used for thumbnail generation`).action(async e=>{await t({videoPath:e?.video,thumbnailText:e?.thumbnailText||``,templateName:e?.template||``})});const f=u.command(`template`);f.description(`Manage thumbnail templates`),f.command(`add <file>`).description(`Add an SVG template to the templates directory`).requiredOption(`--name <name>`,`Template name (lowercase letters, numbers, and hyphens only)`).action(async(t,n)=>{await e(t,n?.name||``)}),u.parseAsync().catch(e=>{a.error(e instanceof Error?e.message:String(e)),i.exit(1)});export{};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@barbapapazes/video-toolkit",
3
3
  "type": "module",
4
- "version": "0.20.1",
4
+ "version": "0.20.2",
5
5
  "description": "CLI toolkit for video processing and thumbnail automation",
6
6
  "author": "Estéban Soubiran <esteban@soubiran.dev>",
7
7
  "license": "MIT",