@mintlify/cli 4.0.1051 → 4.0.1053
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/bin/cli.js +3 -3
- package/bin/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/src/cli.tsx +3 -3
package/bin/cli.js
CHANGED
|
@@ -303,7 +303,7 @@ export const cli = ({ packageName = 'mint' }) => {
|
|
|
303
303
|
addLog(_jsxs(Text, { children: [_jsx(Text, { bold: true, color: "green", children: "cli version" }), ' ', cli] }));
|
|
304
304
|
addLog(_jsxs(Text, { children: [_jsx(Text, { bold: true, color: "green", children: "client version" }), ' ', client] }));
|
|
305
305
|
}))
|
|
306
|
-
.command('new [directory]', '
|
|
306
|
+
.command('new [directory]', 'create a new Mintlify documentation site', (yargs) => yargs
|
|
307
307
|
.positional('directory', {
|
|
308
308
|
describe: 'The directory to initialize your documentation',
|
|
309
309
|
type: 'string',
|
|
@@ -331,7 +331,7 @@ export const cli = ({ packageName = 'mint' }) => {
|
|
|
331
331
|
yield terminate(1);
|
|
332
332
|
}
|
|
333
333
|
}))
|
|
334
|
-
.command('workflow', '
|
|
334
|
+
.command('workflow', 'add a workflow to your documentation repository', () => undefined, () => __awaiter(void 0, void 0, void 0, function* () {
|
|
335
335
|
try {
|
|
336
336
|
yield addWorkflow();
|
|
337
337
|
yield terminate(0);
|
|
@@ -341,7 +341,7 @@ export const cli = ({ packageName = 'mint' }) => {
|
|
|
341
341
|
yield terminate(1);
|
|
342
342
|
}
|
|
343
343
|
}))
|
|
344
|
-
.command('scrape', '
|
|
344
|
+
.command('scrape', 'scrape documentation from external sites', (yargs) => yargs
|
|
345
345
|
.command(['$0 <url>', 'site <url>'], 'Scrape an entire documentation site', (yargs) => yargs
|
|
346
346
|
.positional('url', {
|
|
347
347
|
describe: 'The URL of the documentation site to scrape',
|