~enterprisey/syncwiki

Uploads and downloads pages to/from a MediaWiki wiki.
Update README
Version bump to 0.1.1
Improve help messages a litte

clone

read-only
https://git.sr.ht/~enterprisey/syncwiki
read/write
git@git.sr.ht:~enterprisey/syncwiki

You can also use your local clone with git send-email.

#syncwiki

Uploads and downloads pages to/from a MediaWiki wiki.

To install: for Windows, there's a syncwiki.exe file in the release notes. Otherwise, you'll have to install Rust, check out this repository, and use the cargo install tool, like so:

git checkout --depth=1 https://git.sr.ht/~enterprisey/syncwiki
cd syncwiki
cargo install --path .

#Usage

Uploading: either syncwiki upload file.txt "Page Title", or syncwiki upload --read-stdin "Page Title".

Downloading: either syncwiki download "Page Title" file.txt, or syncwiki download "Page Title" --write-stdout.

syncwiki upload can be abbreviated as syncwiki up. syncwiki download can be abbreviated as syncwiki down or syncwiki dn.

For either uploading or downloading, use --wiki fr.wikipedia.org or --wiki URL to specify a wiki.

For uploading, use --summary SUMMARY to give an edit summary. To skip the username prompt, use --username USERNAME to give a username.