@@ -58,7 +58,7 @@ Add a new site to the config file.
58
58
sites:add [-c|--config [CONFIG]] [--url URL]
59
59
60
60
* ` --config ` ` -c ` — Path of the Yaml config file to use.
61
- Default: '[ CWD ] /config.yml'
61
+ Default: '[ CONFIG ] /mwcli /config.yml'
62
62
* ` --url ` — The URL of the wiki. Can be to any page or even api.php.
63
63
* Required.*
64
64
@@ -69,7 +69,7 @@ Get general information about a wiki.
69
69
sites:info [-c|--config [CONFIG]] [-w|--wiki WIKI]
70
70
71
71
* ` --config ` ` -c ` — Path of the Yaml config file to use.
72
- Default: '[ CWD ] /config.yml'
72
+ Default: '[ CONFIG ] /mwcli /config.yml'
73
73
* ` --wiki ` ` -w ` — The mwcli name of the wiki to use. Use <info >sites: list </info > to list all.
74
74
* Required.*
75
75
@@ -80,7 +80,7 @@ List all configured sites.
80
80
sites:list [-c|--config [CONFIG]]
81
81
82
82
* ` --config ` ` -c ` — Path of the Yaml config file to use.
83
- Default: '[ CWD ] /config.yml'
83
+ Default: '[ CONFIG ] /mwcli /config.yml'
84
84
85
85
### sites: remove
86
86
@@ -89,7 +89,7 @@ Remove a site from the config file.
89
89
sites:remove [-c|--config [CONFIG]] [-w|--wiki WIKI]
90
90
91
91
* ` --config ` ` -c ` — Path of the Yaml config file to use.
92
- Default: '[ CWD ] /config.yml'
92
+ Default: '[ CONFIG ] /mwcli /config.yml'
93
93
* ` --wiki ` ` -w ` — The mwcli name of the wiki to use. Use <info >sites: list </info > to list all.
94
94
* Required.*
95
95
@@ -100,7 +100,7 @@ Export pages and files in a category (and its subcategories).
100
100
export:category [-c|--config [CONFIG]] [-w|--wiki WIKI] [-a|--category CATEGORY] [-d|--dest DEST]
101
101
102
102
* ` --config ` ` -c ` — Path of the Yaml config file to use.
103
- Default: '[ CWD ] /config.yml'
103
+ Default: '[ CONFIG ] /mwcli /config.yml'
104
104
* ` --wiki ` ` -w ` — The mwcli name of the wiki to use. Use <info >sites: list </info > to list all.
105
105
* Required.*
106
106
* ` --category ` ` -a ` — Name of the category to export (with or without the leading 'Category:', and in any language).
@@ -115,7 +115,7 @@ Export a user's contributions.
115
115
export:contribs [-c|--config [CONFIG]] [-w|--wiki WIKI] [-u|--user USER] [-d|--dest DEST] [-o|--only-author]
116
116
117
117
* ` --config ` ` -c ` — Path of the Yaml config file to use.
118
- Default: '[ CWD ] /config.yml'
118
+ Default: '[ CONFIG ] /mwcli /config.yml'
119
119
* ` --wiki ` ` -w ` — The mwcli name of the wiki to use. Use <info >sites: list </info > to list all.
120
120
* Required.*
121
121
* ` --user ` ` -u ` — Export contributions of this username.
@@ -131,7 +131,7 @@ Export a wiki's pages as text files.
131
131
export:wikitext [-c|--config [CONFIG]] [-w|--wiki WIKI] [-d|--dest DEST] [-e|--ext EXT]
132
132
133
133
* ` --config ` ` -c ` — Path of the Yaml config file to use.
134
- Default: '[ CWD ] /config.yml'
134
+ Default: '[ CONFIG ] /mwcli /config.yml'
135
135
* ` --wiki ` ` -w ` — The mwcli name of the wiki to use. Use <info >sites: list </info > to list all.
136
136
* Required.*
137
137
* ` --dest ` ` -d ` — The destination directory for exported files.
@@ -146,7 +146,7 @@ Install an extension into a local wiki. Requires 'install_path' to be set in a s
146
146
extension:install [-c|--config [CONFIG]] [-w|--wiki WIKI] [-g|--git] [-u|--gituser GITUSER] [--] <extension-name>
147
147
148
148
* ` --config ` ` -c ` — Path of the Yaml config file to use.
149
- Default: '[ CWD ] /config.yml'
149
+ Default: '[ CONFIG ] /mwcli /config.yml'
150
150
* ` --wiki ` ` -w ` — The mwcli name of the wiki to use. Use <info >sites: list </info > to list all.
151
151
* Required.*
152
152
* ` --git ` ` -g ` — Use Git to install the extension, instead of the default tarball method.
@@ -161,7 +161,7 @@ Shows a list of installed extensions that have updates available, including thei
161
161
extension:outdated [-c|--config [CONFIG]] [-w|--wiki WIKI]
162
162
163
163
* ` --config ` ` -c ` — Path of the Yaml config file to use.
164
- Default: '[ CWD ] /config.yml'
164
+ Default: '[ CONFIG ] /mwcli /config.yml'
165
165
* ` --wiki ` ` -w ` — The mwcli name of the wiki to use. Use <info >sites: list </info > to list all.
166
166
* Required.*
167
167
@@ -172,7 +172,7 @@ Upload local files to a wiki.
172
172
upload:files [-c|--config [CONFIG]] [-w|--wiki WIKI] [-m|--comment COMMENT] [--] [<files>...]
173
173
174
174
* ` --config ` ` -c ` — Path of the Yaml config file to use.
175
- Default: '[ CWD ] /config.yml'
175
+ Default: '[ CONFIG ] /mwcli /config.yml'
176
176
* ` --wiki ` ` -w ` — The mwcli name of the wiki to use. Use <info >sites: list </info > to list all.
177
177
* Required.*
178
178
* ` --comment ` ` -m ` — Revision comment.
@@ -186,7 +186,7 @@ Upload local text files as wiki pages.
186
186
upload:pages [-c|--config [CONFIG]] [-w|--wiki WIKI] [-m|--comment [COMMENT]] [-t|--watch] [--] <pages-dir>
187
187
188
188
* ` --config ` ` -c ` — Path of the Yaml config file to use.
189
- Default: '[ CWD ] /config.yml'
189
+ Default: '[ CONFIG ] /mwcli /config.yml'
190
190
* ` --wiki ` ` -w ` — The mwcli name of the wiki to use. Use <info >sites: list </info > to list all.
191
191
* Required.*
192
192
* ` --comment ` ` -m ` — Revision comment.
0 commit comments