@@ -6,7 +6,7 @@ slug: /command-line
6
6
7
7
::: tip
8
8
9
- Apache Answer binary support some command-line options
9
+ Apache Answer binary supports some command-line options
10
10
11
11
:::
12
12
@@ -15,23 +15,26 @@ Apache Answer binary support some command-line options
15
15
` answer command [command or global options] [arguments...] `
16
16
17
17
``` shell
18
+ Answer is a minimalist open source Q& A community.
18
19
To run answer, use:
19
20
- ' 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.
22
22
23
23
Usage:
24
24
answer [command]
25
25
26
26
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
30
32
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
35
38
36
39
Flags:
37
40
-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.
95
98
- ` answer dump -p /tmp/ `
96
99
97
100
### build
101
+
98
102
> build a new Apache Answer with plugins.
99
103
100
104
- Options
@@ -103,12 +107,14 @@ All global options can be placed at the command level.
103
107
- ` answer build --with plugin1 --with plugin2 `
104
108
105
109
### plugin
110
+
106
111
> prints all plugins packed in the binary.
107
112
108
113
- Examples
109
114
- ` answer plugin `
110
115
111
116
### config
117
+
112
118
> restore some config value to default.
113
119
114
120
- Options
0 commit comments