Skip to content

Commit 1fd6f65

Browse files
authored
docs: translate cli component (#3868)
1 parent 98136ca commit 1fd6f65

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

apps/website-new/docs/en/guide/basic/cli.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
## View All Commands
88

99
import React from 'react';
10-
import ViewAllCmdsMdx from '@components/common/cli/view-all-cmds';
10+
import ViewAllCmdsMdx from '@components/common/cli/view-all-cmds-en';
1111

1212
{/* rspress flattenMdxContent issue */}
1313
{props.show || React.createElement(ViewAllCmdsMdx)}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
If you need to view all available CLI commands, please run the following command in the project directory:
2+
3+
```bash
4+
npx mf -h
5+
```
6+
7+
Output:
8+
9+
```bash
10+
11+
Usage: mf <command> [options]
12+
13+
Options:
14+
-V, --version output the version number
15+
-h, --help display help for command
16+
17+
Commands:
18+
dts [options] generate or fetch the mf types
19+
help [command] display help for command
20+
21+
```

0 commit comments

Comments
 (0)