@drizzle-team/brocli
Advanced tools
Comparing version 0.10.0 to 0.10.1
@@ -609,3 +609,10 @@ var __create = Object.create; | ||
const data = commands.map( | ||
(s) => ` ${s.name.padEnd(paddedLength)}${(s.shortDesc ?? s.desc)?.split("\n").shift()}` | ||
(\u0441) => ` ${\u0441.name.padEnd(paddedLength)}${(() => { | ||
const desc2 = \u0441.shortDesc ?? \u0441.desc; | ||
if (!desc2?.length) return ""; | ||
const split = desc2.split("\n"); | ||
const first = split.shift(); | ||
const final = [first, ...split.map((s) => "".padEnd(paddedLength + 2) + s)].join("\n"); | ||
return final; | ||
})()}` | ||
).join("\n"); | ||
@@ -612,0 +619,0 @@ console.log(data); |
@@ -5,3 +5,3 @@ { | ||
"author": "Drizzle Team", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"description": "Modern type-safe way of building CLIs", | ||
@@ -8,0 +8,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
360279
3272