Difference between revisions of "CommandLine"

From BITPlan mediawiki-japi Wiki
Jump to navigation Jump to search
Line 5: Line 5:
  
 
= 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
 +
<source lang='bash'>
 +
./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)
 +
</source>
 +
 
= Installation =
 
= Installation =
 
<source lang='bash'>
 
<source lang='bash'>
 
./build
 
./build
 
</source>
 
</source>

Revision as of 08:40, 15 March 2020

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