CommandLine

From BITPlan mediawiki-japi Wiki
Jump to navigation Jump to search

https://github.com/WolfgangFahl/Mediawiki-Japi/issues/49 has (finally) introduced command line support. The CommandLine has two modes:

  1. Transfer mode
  2. Credential mode

Credential mode

Credential mode is activated by using the -u option. If you just want to see the usage it's sufficient to supply an invalid username like x

./run -h -u x
 -e (--email) WERT    : email
 -h (--help)          : help
                        show this usage (Vorgabe: true)
 -p (--password) WERT : password
 -u (--user) WERT     : username (Vorgabe: x)
 -w (--wikiId) WERT   : wiki id
 -y (--store)         : store without asking (Vorgabe: false)

Installation

./build