@visulima/cerebro 3.0.3 → 3.0.4
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/CHANGELOG.md +2 -0
- package/dist/commands/completion-command.d.ts +3 -3
- package/dist/commands/completion-command.js +1 -1
- package/dist/commands/help-command.d.ts +1 -1
- package/dist/commands/help-command.js +1 -1
- package/dist/commands/readme-command.d.ts +3 -3
- package/dist/commands/readme-command.js +17 -17
- package/dist/commands/version-command.d.ts +1 -1
- package/dist/index.d.ts +403 -433
- package/dist/index.js +1 -1
- package/dist/logger/create-pail-logger.d.ts +533 -555
- package/dist/packem_chunks/has-new-version.js +1 -1
- package/dist/packem_shared/Cerebro-CHB2i5uf.js +4 -0
- package/dist/packem_shared/{VisulimaError-C90oeIMu.js → VisulimaError-BheWBD7j.js} +2 -2
- package/dist/packem_shared/{cerebro-error-BjBcYVRO.js → cerebro-error-DnA3fjrR.js} +1 -1
- package/dist/packem_shared/command.d-B_G9vIYJ.d.ts +633 -0
- package/dist/packem_shared/{index-DvVGK4kr.js → index-BAKCiGjO.js} +10 -10
- package/dist/packem_shared/index.d-CnnVYgSZ.d.ts +117 -0
- package/dist/packem_shared/renderError-DjesnVYT-pHitCa3e.js +25 -0
- package/dist/packem_shared/split-by-case-DpyL5bdy.js +1 -0
- package/dist/plugins/error-handler-plugin.d.ts +18 -7
- package/dist/plugins/error-handler-plugin.js +1 -1
- package/dist/plugins/runtime-version-check-plugin.d.ts +5 -5
- package/dist/plugins/update-notifier/update-notifier-plugin.d.ts +11 -10
- package/dist/util/general/compile-cache.d.ts +37 -37
- package/dist/util/general/heap-tuning.d.ts +11 -11
- package/dist/util/general/heap-tuning.js +1 -1
- package/package.json +1 -1
- package/dist/packem_shared/Cerebro-Czc4t-75.js +0 -4
- package/dist/packem_shared/command.d-DbhtfXF4.d.ts +0 -639
- package/dist/packem_shared/index.d-BL4NtVR3.d.ts +0 -127
- package/dist/packem_shared/renderError-B3ePOoBG-BmZlyMcr.js +0 -25
- package/dist/packem_shared/split-by-case-Dbpgd7rf.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
## @visulima/cerebro [3.0.4](https://github.com/visulima/visulima/compare/%40visulima%2Fcerebro%403.0.3...%40visulima%2Fcerebro%403.0.4) (2026-07-27)
|
|
2
|
+
|
|
1
3
|
## @visulima/cerebro [3.0.3](https://github.com/visulima/visulima/compare/%40visulima%2Fcerebro%403.0.2...%40visulima%2Fcerebro%403.0.3) (2026-07-27)
|
|
2
4
|
|
|
3
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as Command } from "../packem_shared/command.d-
|
|
1
|
+
import { C as Command } from "../packem_shared/command.d-B_G9vIYJ.js";
|
|
2
2
|
import '@visulima/tabular';
|
|
3
3
|
/**
|
|
4
|
-
* Generates shell completion scripts for the CLI application.
|
|
5
|
-
*/
|
|
4
|
+
* Generates shell completion scripts for the CLI application.
|
|
5
|
+
*/
|
|
6
6
|
declare const completionCommand: Command;
|
|
7
7
|
export { completionCommand as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as u}from"../packem_shared/cerebro-error-
|
|
1
|
+
import{t as u}from"../packem_shared/cerebro-error-DnA3fjrR.js";class h extends u{troubleshooting;constructor(o,t,i=[]){super(o,t,{troubleshooting:i}),this.name="CompletionError",this.troubleshooting=i,i.length>0&&(this.hint=i.join(`
|
|
2
2
|
`))}}const a=["bash","zsh","fish","powershell"],c=["node","bun","deno"],f=e=>"Deno"in e,b=e=>"Bun"in e,d=()=>f(globalThis)?"deno":b(globalThis)?"bun":"node",p=e=>{const o=e?.starshipShell??e?.shell;if(o){const s=o.toLowerCase();if(s.includes("zsh"))return"zsh";if(s.includes("bash"))return"bash";if(s.includes("fish"))return"fish"}const t=e?.psModulePath,i=e?.prompt;if(t||i?.includes("PS"))return"powershell";if(e?.comSpec?.toLowerCase().includes("cmd.exe"))return"bash"},g=async()=>(await import("@bomb.sh/tab")).default,S=(e,o)=>{for(const t of o)t.hidden||(t.name&&e.option(t.name,t.description??""),t.alias&&e.option(t.alias,t.description??""))},w=(e,o)=>{for(const[t,i]of o){if(i.name!==t||i.hidden)continue;const s=e.command(i.name,i.description??"");i.options&&S(s,i.options)}},$=e=>{if(!a.includes(e))throw new h(`Invalid shell type: ${e}`,"INVALID_SHELL",[`Valid shells are: ${a.join(", ")}`,"Shell will be auto-detected if not specified"])},y=e=>{if(e&&!c.includes(e))throw new h(`Invalid runtime: ${e}`,"INVALID_RUNTIME",[`Valid runtimes are: ${c.join(", ")}`,"Runtime will be auto-detected if not specified"])},L=(e,o)=>{e.error("Could not detect current shell");const t=[`Usage: ${o} completion --shell=<bash|zsh|fish|powershell> [--runtime=<node|bun|deno>]`,"","Examples:"," # Install completions for zsh:",` ${o} completion --shell=zsh > ~/.${o}-completion.zsh`,` echo 'source ~/.${o}-completion.zsh' >> ~/.zshrc`,""," # Install completions for bash with custom runtime:",` ${o} completion --shell=bash --runtime=bun > ~/.${o}-completion.bash`,` echo 'source ~/.${o}-completion.bash' >> ~/.bashrc`,""," # Install completions for fish:",` ${o} completion --shell=fish > ~/.config/fish/completions/${o}.fish`].join(`
|
|
3
3
|
`);e.info(t)},I={description:"Generate shell completion scripts",env:[{description:"Shell path (Unix-like systems). Used for shell detection.",name:"SHELL",type:String},{description:"Starship shell configuration. Takes precedence over SHELL for detection.",name:"STARSHIP_SHELL",type:String},{description:"PowerShell module path (Windows). Used for PowerShell detection.",name:"PSModulePath",type:String},{description:"Command prompt variable (Windows). Used for PowerShell detection.",name:"PROMPT",type:String},{description:"Command processor (Windows). Used for Windows Command Prompt detection.",name:"ComSpec",type:String}],execute:async({env:e,logger:o,options:t,runtime:i})=>{const s=i.getCliName(),l=t.shell??p(e);if(!l){L(o,s);return}try{$(l),y(t.runtime);const n=await g();w(n,i.getCommands());const r=`${t.runtime??d()} ${s}`;n.setup(s,r,l)}catch(n){if(n instanceof h){const r=[`Failed to generate completion script: ${n.message}`,`Error code: ${n.code}`];throw n.troubleshooting.length>0&&r.push("","Troubleshooting:",...n.troubleshooting.map(m=>` • ${m}`)),o.error(r.join(`
|
|
4
4
|
`)),n}else{const r=["Failed to generate completion script",`Error: ${n instanceof Error?n.message:String(n)}`,"","Troubleshooting:"," • Ensure @bomb.sh/tab is installed: pnpm add @bomb.sh/tab",` • Verify shell is supported: ${a.join(", ")}`,` • Verify runtime is supported: ${c.join(", ")}`," • Check that your CLI name is correct"];o.error(r.join(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OptionDefinition, A as ArgumentDefinition, C as Command, T as Toolbox } from "../packem_shared/command.d-
|
|
1
|
+
import { O as OptionDefinition, A as ArgumentDefinition, C as Command, T as Toolbox } from "../packem_shared/command.d-B_G9vIYJ.js";
|
|
2
2
|
import '@visulima/tabular';
|
|
3
3
|
declare class HelpCommand<TLogger extends Console = Console> implements Command<OptionDefinition<string>, TLogger> {
|
|
4
4
|
argument: ArgumentDefinition<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{inverse as p,cyan as u,green as h,yellow as g}from"@visulima/colorize";import{o as y,r as f}from"../packem_shared/index-
|
|
1
|
+
import{inverse as p,cyan as u,green as h,yellow as g}from"@visulima/colorize";import{o as y,r as f}from"../packem_shared/index-BAKCiGjO.js";const O=[{defaultValue:"32",description:"Controls the verbosity level of output. Valid values: '16' (quiet), '32' (normal), '64' (verbose), '128' (debug)",name:"CEREBRO_OUTPUT_LEVEL",type:String},{description:"Sets the minimum required Node.js version. Overrides the default minimum version check",name:"CEREBRO_MIN_NODE_VERSION",type:Number},{defaultValue:!1,description:"When set, disables the update notifier check",name:"NO_UPDATE_NOTIFIER",type:Boolean},{description:"Standard Node.js environment variable. When set to 'test', disables update notifier",name:"NODE_ENV",type:String},{defaultValue:!1,description:"When set, enables debug output (same as --debug flag)",name:"DEBUG",type:Boolean},{description:"Sets the terminal width for table rendering. Useful for testing and consistent output",name:"CEREBRO_TERMINAL_WIDTH",type:Number}],b="__Other",v=s=>s.charAt(0).toUpperCase()+s.slice(1),w=(s,r,l,o)=>{s.debug("no command given, printing general help...");let m=[...new Set(l.values())].filter(n=>!n.hidden);o&&(m=m.filter(n=>n.group===o));const e=m.reduce((n,i)=>{const d=i.group??b;return n[d]??=[],n[d].push(i),n},{}),a=n=>n.map(i=>{let d="";typeof i.alias=="string"?d=i.alias:Array.isArray(i.alias)&&(d=i.alias.join(", ")),d!==""&&(d=` [${d}]`);let t=i.name;return i.commandPath&&i.commandPath.length>0&&(t=`${i.commandPath.join(" ")} ${i.name}`),[`${h(t)}${d}`,i.description??""]});(s.raw??s.log)(f([{content:`${u(r.getCliName())} ${h("<command>")} [positional arguments] ${g("[options]")}`,header:p.cyan(" Usage ")},...Object.keys(e).map(n=>{const i=o?` ${v(o)}`:"";return{content:a(e[n]),header:n===b||o?p.green(` Available${i} Commands `):` ${p.green(` ${v(n)} `)}`}}),l.has("help")?{header:p.yellow(" Command Options "),optionList:l.get("help").options?.filter(n=>!n.hidden)}:void 0,{header:p.yellow(" Global Options "),optionList:r.getGlobalOptions()},{content:O.filter(n=>!n.hidden).map(n=>[n.name,n.description??""]),header:p.magenta(" Environment Variables ")},{content:`Run "${u(r.getCliName())} ${h("help <command>")}" or "${u(r.getCliName())} ${h("<command>")} ${g("--help")}" for help with a specific command.`,raw:!0}].filter(Boolean)))},$=(s,r)=>{const l=[];for(const o of s.values()){if(o.hidden)continue;const m=o.commandPath??[];if(m.length!==r.length)continue;let e=!0;for(const[a,n]of r.entries())if(m[a]!==n){e=!1;break}e&&l.push(o)}return l},E=(s,r,l,o)=>{const m=l.join(" "),e=[{content:`${u(r.getCliName())} ${h(m)} ${h("<subcommand>")} [positional arguments] ${g("[options]")}`,header:p.cyan(" Usage ")},{content:o.map(a=>{const n=[...a.commandPath??[],a.name].join(" ");return[h(n),a.description??""]}),header:p.green(" Subcommands ")},{header:p.yellow(" Global Options "),optionList:r.getGlobalOptions()},{content:`Run "${u(r.getCliName())} ${h(`${m} <subcommand>`)} ${g("--help")}" for help with a specific subcommand.`,raw:!0}];(s.raw??s.log)(f(e))},N=(s,r,l,o,m)=>{let e=m??l.get(o);if(!e)for(const t of l.values()){const c=t.commandPath?[...t.commandPath,t.name]:[t.name];if(c.at(-1)===o||c.join(" ")===o){e=t;break}}if(!e){const t=o.split(" ").filter(Boolean),c=t.length>0?$(l,t):[];if(c.length>0){E(s,r,t,c);return}s.error(`Command "${o}" not found`);return}const a=[],n=(e.commandPath?[...e.commandPath,e.name]:[e.name]).join(" ");if(a.push({content:`${u(r.getCliName())} ${h(n)}${e.argument?" [positional arguments]":""}${e.options?" [options]":""}`,header:p.cyan(" Usage ")}),e.description&&a.push({content:e.description,header:p.green(" Description ")}),e.argument&&a.push({header:"Command Positional Arguments",isArgument:!0,optionList:[e.argument]}),Array.isArray(e.options)&&e.options.length>0&&a.push({header:p.yellow(" Command Options "),optionList:e.options.filter(t=>!t.hidden)}),a.push({header:p.yellow(" Global Options "),optionList:r.getGlobalOptions()}),Array.isArray(e.env)&&e.env.length>0){const t=e.env.filter(c=>!c.hidden);t.length>0&&a.push({content:t.map(c=>[c.name,c.description??""]),header:p.magenta(" Environment Variables ")})}if(e.alias!==void 0&&e.alias.length>0){let t=e.alias;typeof e.alias=="string"&&(t=[e.alias]),a.splice(1,0,{content:t,header:"Alias(es)"})}Array.isArray(e.examples)&&e.examples.length>0&&a.push({content:e.examples,header:"Examples"});const i=[...e.commandPath??[],e.name],d=$(l,i);d.length>0&&a.push({content:d.map(t=>{const c=[...t.commandPath??[],t.name].join(" ");return[h(c),t.description??""]}),header:p.green(" Subcommands ")}),(s.raw??s.log)(f(a))};class P{argument={description:"Command to show help for (subcommand path supported, e.g. `cli help docker build`)",name:"command",type:String};name="help";options=[{description:"Display only the specified group",name:"group",type:String}];commands;constructor(r){this.commands=r}execute(r){const{argument:l,command:o,commandName:m,logger:e,options:a,runtime:n}=r,{footer:i,header:d}=n.getCommandSection();d&&(e.raw??e.log)(y(d));const t=m==="help"&&Array.isArray(l)&&l.length>0?l.join(" "):void 0;if(m==="help"&&t===void 0)w(e,n,this.commands,typeof a?.group=="string"?a.group:void 0);else{const c=t!==void 0||o===void 0||o.name==="help"?void 0:o;N(e,n,this.commands,t??m,c)}i&&(e.raw??e.log)(y(i))}}export{P as default};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as Command } from "../packem_shared/command.d-
|
|
1
|
+
import { C as Command } from "../packem_shared/command.d-B_G9vIYJ.js";
|
|
2
2
|
import '@visulima/tabular';
|
|
3
3
|
/**
|
|
4
|
-
* Generates README documentation for cerebro CLI commands.
|
|
5
|
-
*/
|
|
4
|
+
* Generates README documentation for cerebro CLI commands.
|
|
5
|
+
*/
|
|
6
6
|
declare const readmeCommand: Command;
|
|
7
7
|
export { readmeCommand as default };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import{createRequire as x}from"node:module";import{r as
|
|
2
|
-
`)[0]??"",
|
|
3
|
-
${
|
|
1
|
+
import{createRequire as x}from"node:module";import{r as N}from"../packem_shared/index-BAKCiGjO.js";import{g as q,a as V,b as G}from"../packem_shared/runtime-process-Dmz0vCJy.js";let S;const O=e=>(S??=x(import.meta.url))(e),h=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,k=e=>{if(typeof h<"u"&&h.versions&&h.versions.node){const[n,t]=h.versions.node.split(".").map(Number);if(n>22||n===22&&t>=3||n===20&&t>=16)return h.getBuiltinModule(e)}return O(e)},{resolve:P,join:B,dirname:L}=k("node:path"),v=async(e,n)=>{try{return await e.access(n),!0}catch{return!1}},T=async()=>{const{default:e}=await import("github-slugger"),n=new e;return t=>n.slug(t)},U=e=>e.filter(Boolean),F=(e,n)=>{const t=new Set,r=[];for(const a of e){const o=n(a);t.has(o)||(t.add(o),r.push(a))}return r},_=(e,n)=>{const t=(e.commandPath?[...e.commandPath,e.name]:[e.name]).join(" ");if(e.argument){const r=e.argument.name.toUpperCase(),a=e.argument.required?r:`[${r}]`;return`${n} ${t} ${a}`}return`${n} ${t}`},I=(e,n)=>{if(!Array.isArray(e.env)||e.env.length===0)return;const t=e.env.filter(r=>!r.hidden);t.length>0&&n.push({content:t.map(r=>[r.name,r.description??""]),header:" Environment Variables "})},W=(e,n)=>{const t=[],r=(e.commandPath?[...e.commandPath,e.name]:[e.name]).join(" "),a=!!e.argument,o=!!e.options;if(t.push({content:`${n} ${r}${a?" [positional arguments]":""}${o?" [options]":""}`,header:" Usage "}),e.description&&t.push({content:e.description,header:" Description "}),e.argument&&t.push({header:"Command Positional Arguments",isArgument:!0,optionList:[e.argument]}),Array.isArray(e.options)&&e.options.length>0&&t.push({header:" Command Options ",optionList:e.options.filter(i=>!i.hidden)}),I(e,t),e.alias!==void 0&&e.alias.length>0){const i=Array.isArray(e.alias)?e.alias:[e.alias];t.splice(1,0,{content:i,header:"Alias(es)"})}return Array.isArray(e.examples)&&e.examples.length>0&&t.push({content:e.examples,header:"Examples"}),N(t)},z=(e,n)=>{const t=e.description?.trim().split(`
|
|
2
|
+
`)[0]??"",r=_(e,n),a=W(e,n);return U([`## \`${r}\``,t,`\`\`\`
|
|
3
|
+
${a.trim()}
|
|
4
4
|
\`\`\``]).join(`
|
|
5
5
|
|
|
6
|
-
`)},
|
|
6
|
+
`)},H=(e,n,t,r)=>{const a=`(${["--version","-V"].join("|")})`,o=V(),i=G();return`\`\`\`sh-session
|
|
7
7
|
$ npm install -g ${n}
|
|
8
8
|
$ ${e} COMMAND
|
|
9
9
|
running command...
|
|
10
|
-
$ ${e} ${
|
|
11
|
-
${n}/${t??"unknown"} ${o}-${i} node-v${
|
|
10
|
+
$ ${e} ${a}
|
|
11
|
+
${n}/${t??"unknown"} ${o}-${i} node-v${r}
|
|
12
12
|
$ ${e} --help [COMMAND]
|
|
13
13
|
USAGE
|
|
14
14
|
$ ${e} COMMAND
|
|
15
15
|
...
|
|
16
16
|
\`\`\`
|
|
17
|
-
`},
|
|
18
|
-
`);return[...
|
|
19
|
-
`).trim()},
|
|
17
|
+
`},M=(e,n,t,r)=>{const a=e.map(i=>{const u=_(i,n);return`* [\`${u}\`](#${r(u)})`}),o=e.map(i=>z(i,n)).map(i=>`${i.trim()}
|
|
18
|
+
`);return[...a,"",...o].join(`
|
|
19
|
+
`).trim()},R=async(e,n,t)=>{const r=L(n);await v(e,r)||await e.mkdir(r,{recursive:!0}),await e.writeFile(n,t,"utf8")},J=async(e,n,t,r,a,o,i)=>{const u=new Map;for(const m of t){const s=m.group??"__Other",d=u.get(s)??[];d.push(m),u.set(s,d)}const p=Array.from(u.entries(),([m,s])=>m==="__Other"?["Other",s]:[m,s]);return await Promise.all(p.map(async([m,s])=>{const d=m.replaceAll(":","/"),y=B(".",r,`${d}.md`),g=`\`${a} ${m}\``,l=`${[g,"=".repeat(g.length),"",`Commands in the ${m} group.`,"",M(s,a,o,i)].join(`
|
|
20
20
|
`).trim()}
|
|
21
|
-
`;o.dryRun||await
|
|
22
|
-
`,...
|
|
21
|
+
`;o.dryRun||await R(e,P(n,y),l)})),`${[`# Command Topics
|
|
22
|
+
`,...p.map(([m])=>{const s=m.replaceAll(":","/");return`* [\`${a} ${m}\`](${r}/${s}.md)`})].join(`
|
|
23
23
|
`).trim()}
|
|
24
24
|
`},A=e=>e.replaceAll(`\r
|
|
25
25
|
`,`
|
|
26
26
|
`).replaceAll("\r",`
|
|
27
|
-
`),
|
|
27
|
+
`),K=(e,n)=>A(e).split(`
|
|
28
28
|
`).filter(t=>t.startsWith("# ")).map(t=>t.trim().slice(2)).map(t=>`* [${t}](#${n(t)})`).join(`
|
|
29
|
-
`),E=e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),w=(e,n,t)=>{const
|
|
29
|
+
`),E=e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),w=(e,n,t)=>{const r=A(e),a=`<!-- ${n} -->`,o=`<!-- ${n}stop -->`;if(r.includes(a)&&r.includes(o)){const i=E(a),u=E(o),p=new RegExp(String.raw`${i}(.|\n)*${u}`,"m");return r.replace(p,`${a}
|
|
30
30
|
${t}
|
|
31
|
-
${o}`)}return
|
|
31
|
+
${o}`)}return r.replace(a,`${a}
|
|
32
32
|
${t}
|
|
33
|
-
${o}`)},
|
|
33
|
+
${o}`)},Z={description:"Generate README documentation for CLI commands",execute:async({fs:e,logger:n,options:t,process:r,runtime:a})=>{const o=a.getCliName(),i=a.getPackageName()??o,u=a.getPackageVersion(),p=q().node??"unknown",m=await T(),s={aliases:t.aliases,dryRun:t.dryRun,multi:t.multi,outputDir:t.outputDir??"docs",readmePath:t.readmePath??"README.md",version:t.version??u??void 0},d=a.getCommands(),y=[...d.values()].filter(c=>!c.hidden).filter(c=>s.aliases?!0:c.name===d.get(c.name)?.name).toSorted((c,f)=>{const b=c.commandPath?[...c.commandPath,c.name].join(" "):c.name,C=f.commandPath?[...f.commandPath,f.name].join(" "):f.name;return b.localeCompare(C)}),g=F(y,c=>c.commandPath?[...c.commandPath,c.name].join(" "):c.name);n.debug(`Processing ${String(g.length)} commands for README generation`);let l;const $=P(r.cwd,s.readmePath??"README.md");if(await v(e,$)){const c=await e.readFile($,"utf8");l=A(c)}else n.warn(`README file not found at ${$}, creating template`),l=`# ${i}
|
|
34
34
|
|
|
35
35
|
<!-- usage -->
|
|
36
36
|
<!-- usagestop -->
|
|
@@ -40,6 +40,6 @@ ${o}`)},Y={description:"Generate README documentation for CLI commands",execute:
|
|
|
40
40
|
|
|
41
41
|
<!-- toc -->
|
|
42
42
|
<!-- tocstop -->
|
|
43
|
-
`;const
|
|
43
|
+
`;const j=s.outputDir??"docs",D=s.version??u??"unknown";l=w(l,"usage",H(o,i,D,p)),l=w(l,"commands",s.multi?await J(e,r.cwd,g,j,o,s,m):M(g,o,s,m)),l=w(l,"toc",K(l,m)),l=`${l.trimEnd()}
|
|
44
44
|
`,s.dryRun?(n.info("Dry run mode - README not written"),n.info(`Generated README content:
|
|
45
|
-
${l}`)):(await
|
|
45
|
+
${l}`)):(await R(e,$,l),n.info(`README generated successfully at ${$}`))},name:"readme",options:[{description:"Include aliases in command list",name:"aliases",type:Boolean},{description:"Show what would be generated without writing files",name:"dry-run",type:Boolean},{description:"Generate multi-file documentation by command groups",name:"multi",type:Boolean},{description:"Maximum depth for nested topics when using multi-file mode",name:"nested-topics-depth",type:Number},{description:"Output directory for multi-file documentation",name:"output-dir",type:String,typeLabel:"{underline directory}"},{description:"Path to README file to generate",name:"readme-path",type:String,typeLabel:"{underline path}"},{description:"Repository prefix for code links",name:"repository-prefix",type:String,typeLabel:"{underline prefix}"},{description:"Version to use in generated documentation",name:"version",type:String,typeLabel:"{underline version}"}]};export{Z as default};
|