Skip to content

Commit f874b7a

Browse files
committed
docs(cmd): align command usage with v1.5.1
close apache#320
1 parent 9efb946 commit f874b7a

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

docs/getting-started/command-line.md

+16-10
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ slug: /command-line
66

77
:::tip
88

9-
Apache Answer binary support some command-line options
9+
Apache Answer binary supports some command-line options
1010

1111
:::
1212

@@ -15,23 +15,26 @@ Apache Answer binary support some command-line options
1515
`answer command [command or global options] [arguments...]`
1616

1717
```shell
18+
Answer is a minimalist open source Q&A community.
1819
To run answer, use:
1920
- 'answer init' to initialize the required environment.
20-
- 'answer run' to launch the application.
21-
- 'answer upgrade' to upgrade the application
21+
- 'answer run' to launch application.
2222

2323
Usage:
2424
answer [command]
2525

2626
Available Commands:
27-
build used to build answer with plugins
28-
check checking the required environment
29-
dump back up data
27+
build Build Answer with plugins
28+
check Check the required environment
29+
completion Generate the autocompletion script for the specified shell
30+
config Set some config to default value
31+
dump Back up data
3032
help Help about any command
31-
init init answer application
32-
plugin prints all plugins packed in the binary
33-
run Run the application
34-
upgrade upgrade Apache Answer version
33+
i18n Overwrite i18n files
34+
init Initialize Answer
35+
plugin Print all plugins packed in the binary
36+
run Run Answer
37+
upgrade Upgrade Answer
3538

3639
Flags:
3740
-C, --data-path string data path, eg: -C ./data/ (default "/data/")
@@ -95,6 +98,7 @@ All global options can be placed at the command level.
9598
- `answer dump -p /tmp/`
9699

97100
### build
101+
98102
> build a new Apache Answer with plugins.
99103
100104
- Options
@@ -103,12 +107,14 @@ All global options can be placed at the command level.
103107
- `answer build --with plugin1 --with plugin2`
104108

105109
### plugin
110+
106111
> prints all plugins packed in the binary.
107112
108113
- Examples
109114
- `answer plugin`
110115

111116
### config
117+
112118
> restore some config value to default.
113119
114120
- Options

0 commit comments

Comments
 (0)