Changeset View
Changeset View
Standalone View
Standalone View
docs/scap2/commands.rst
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | |||||
.. program-output:: ../bin/scap sync-wikiversions --help | .. program-output:: ../bin/scap sync-wikiversions --help | ||||
.. seealso:: | .. seealso:: | ||||
* :func:`scap.SyncWikiversions` | * :func:`scap.SyncWikiversions` | ||||
* :func:`scap.tasks.compile_wikiversions` | * :func:`scap.tasks.compile_wikiversions` | ||||
* :func:`scap.tasks.sync_wikiversions` | * :func:`scap.tasks.sync_wikiversions` | ||||
############## | |||||
Misc. Commands | |||||
############## | |||||
scap wikiversions-inuse | scap wikiversions-inuse | ||||
----------------------- | ----------------------- | ||||
:command:`scap wikiversions-inuse` examines wikiversions.json to find the current active | :command:`scap wikiversions-inuse` examines wikiversions.json to find the current active | ||||
MediaWiki versions. | MediaWiki versions. | ||||
.. program-output:: ../bin/scap wikiversions-inuse --help | .. program-output:: ../bin/scap wikiversions-inuse --help | ||||
.. seealso:: | .. seealso:: | ||||
* :func:`scap.MWVersionsInUse` | * :func:`scap.MWVersionsInUse` | ||||
Show All 35 Lines | |||||
:command:`scap l10n-update` generates localization cache files. | :command:`scap l10n-update` generates localization cache files. | ||||
.. program-output:: ../bin/scap l10n-update --help | .. program-output:: ../bin/scap l10n-update --help | ||||
.. seealso:: | .. seealso:: | ||||
* :func:`scap.UpdateL10n` | * :func:`scap.UpdateL10n` | ||||
* :func:`scap.tasks.update_localization_cache` | * :func:`scap.tasks.update_localization_cache` | ||||
refreshCdbJsonFiles | scap cdb-json-refresh | ||||
------------------- | --------------------- | ||||
:command:`refreshCdbJsonFiles` Create JSON/MD5 files for all CDB files in a directory. | :command:`refreshCdbJsonFiles` Create JSON/MD5 files for all CDB files in a directory. | ||||
.. program-output:: ../bin/refreshCdbJsonFiles --help | .. program-output:: ../bin/scap cdb-json-refresh --help | ||||
.. seealso:: | .. seealso:: | ||||
* :func:`scap.refreshCdbJsonFiles` | * :func:`scap.refreshCdbJsonFiles` | ||||
* :func:`scap.tasks.refresh_cdb_json_files` | * :func:`scap.tasks.refresh_cdb_json_files` | ||||
Content licensed under Creative Commons Attribution-ShareAlike 3.0 (CC-BY-SA) unless otherwise noted; code licensed under GNU General Public License (GPL) or other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL