@mintlify/cli 4.0.1053 → 4.0.1054

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/cli",
3
- "version": "4.0.1053",
3
+ "version": "4.0.1054",
4
4
  "description": "The Mintlify CLI",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -87,5 +87,5 @@
87
87
  "vitest": "2.1.9",
88
88
  "vitest-mock-process": "1.0.4"
89
89
  },
90
- "gitHead": "cc96851db28eb34c56e3b89aab3f4b603a6fbe55"
90
+ "gitHead": "195ee98e7c2e10e03ec30f2a3a9ced7c115ad511"
91
91
  }
package/src/cli.tsx CHANGED
@@ -165,7 +165,7 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
165
165
  )
166
166
  .command(
167
167
  'openapi-check <filename>',
168
- 'check if an OpenAPI spec is valid',
168
+ 'check if an openapi spec is valid',
169
169
  (yargs) =>
170
170
  yargs
171
171
  .positional('filename', {
@@ -353,7 +353,7 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
353
353
  )
354
354
  .command(
355
355
  'migrate-mdx',
356
- 'migrate MDX OpenAPI endpoint pages to x-mint extensions and docs.json',
356
+ 'migrate mdx openapi endpoint pages to x-mint extensions and docs.json',
357
357
  () => undefined,
358
358
  async () => {
359
359
  await migrateMdx();
@@ -401,7 +401,7 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
401
401
  )
402
402
  .command(
403
403
  ['version', 'v'],
404
- 'display the current version of the CLI and client',
404
+ 'display the current version of the cli and client',
405
405
  () => undefined,
406
406
  async () => {
407
407
  const { cli, client } = getVersions();
@@ -425,7 +425,7 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
425
425
  )
426
426
  .command(
427
427
  'new [directory]',
428
- 'create a new Mintlify documentation site',
428
+ 'create a new mintlify documentation site',
429
429
  (yargs) =>
430
430
  yargs
431
431
  .positional('directory', {
@@ -478,7 +478,7 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
478
478
  yargs
479
479
  .command(
480
480
  ['$0 <url>', 'site <url>'],
481
- 'Scrape an entire documentation site',
481
+ 'scrape an entire documentation site',
482
482
  (yargs) =>
483
483
  yargs
484
484
  .positional('url', {
@@ -499,7 +499,7 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
499
499
  )
500
500
  .command(
501
501
  'page <url>',
502
- 'Scrape a single documentation page',
502
+ 'scrape a single documentation page',
503
503
  (yargs) =>
504
504
  yargs
505
505
  .positional('url', {
@@ -514,7 +514,7 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
514
514
  )
515
515
  .command(
516
516
  'openapi <openapiLocation>',
517
- 'Generate MDX files from an OpenAPI spec',
517
+ 'generate mdx files from an openapi spec',
518
518
  (yargs) =>
519
519
  yargs
520
520
  .positional('openapiLocation', {