<?xml version="1.0"?>
<commands>
    <command>
        <name>bitstore-migrate</name>
        <description>Assetstore migration tool</description>
        <step>
            <class>org.dspace.storage.bitstore.BitStoreMigrate</class>
        </step>
    </command>
    <command>
        <name>healthcheck</name>
        <description>Create health check report</description>
        <step>
            <class>org.dspace.health.Report</class>
        </step>
    </command>
    <command>
        <name>checker</name>
        <description>Run the checksum checker</description>
        <step>
            <class>org.dspace.app.checker.ChecksumChecker</class>
        </step>
    </command>
    <command>
        <name>checker-emailer</name>
        <description>Send emails related to the checksum checker</description>
        <step>
            <class>org.dspace.checker.DailyReportEmailer</class>
        </step>
    </command>
    <command>
        <name>classpath</name>
        <description>Calculate and display the DSpace classpath</description>
        <step/>
    </command>
    <command>
        <name>cleanup</name>
        <description>Remove deleted bitstreams from the assetstore</description>
        <step>
            <class>org.dspace.storage.bitstore.Cleanup</class>
        </step>
    </command>
    <command>
        <name>community-filiator</name>
        <description>Tool to manage community and sub-community relationships</description>
        <step>
            <class>org.dspace.administer.CommunityFiliator</class>
        </step>
    </command>
    <command>
        <name>create-administrator</name>
        <description>Create a DSpace administrator account</description>
        <step>
            <class>org.dspace.administer.CreateAdministrator</class>
        </step>
    </command>
    <command>
        <name>curate</name>
        <description>Perform curation tasks on DSpace objects</description>
        <step>
            <class>org.dspace.curate.CurationCli</class>
        </step>
    </command>
    <command>
        <name>database</name>
        <description>Perform database tasks like test database connection, migrate/repair database, remove database</description>
        <step>
            <class>org.dspace.storage.rdbms.DatabaseUtils</class>
        </step>
    </command>
    <command>
        <name>doi-organiser</name>
        <description>Run the DOI organiser</description>
        <step>
            <class>org.dspace.identifier.doi.DOIOrganiser</class>
        </step>
    </command>
    <command>
        <name>dsprop</name>
        <description>View a DSpace property from dspace.cfg</description>
        <step>
            <class>org.dspace.app.util.Configuration</class>
        </step>
    </command>
    <command>
        <name>dsrun</name>
        <description>Run a class directly</description>
        <step>
            <class>dsrun</class>
        </step>
    </command>
    <command>
        <name>embargo-lifter</name>
        <description>Embargo manager tool used to check, list and lift embargoes</description>
        <step>
            <class>org.dspace.embargo.EmbargoCLITool</class>
        </step>
    </command>
    <command>
        <name>export</name>
        <description>Export items or collections</description>
        <step>
            <class>org.dspace.app.itemexport.ItemExportCLITool</class>
        </step>
    </command>
    <command>
        <name>filter-media</name>
        <description>Perform the media filtering to extract full text from documents and to create thumbnails</description>
        <step>
            <class>org.dspace.app.mediafilter.MediaFilterCLITool</class>
        </step>
    </command>
    <command>
        <name>generate-sitemaps</name>
        <description>Generate search engine and html sitemaps</description>
        <step>
            <class>org.dspace.app.sitemap.GenerateSitemaps</class>
        </step>
    </command>
    <command>
        <name>harvest</name>
        <description>Manage the OAI-PMH harvesting of external collections</description>
        <step>
            <class>org.dspace.app.harvest.Harvest</class>
        </step>
    </command>
    <command>
        <name>import</name>
        <description>Import items into DSpace</description>
        <step>
            <class>org.dspace.app.itemimport.ItemImportCLITool</class>
        </step>
    </command>
    <command>
        <name>index-authority</name>
        <description>Indexes all metadata fields that use solr authority</description>
        <step>
            <class>org.dspace.authority.indexer.AuthorityIndexClient</class>
        </step>
    </command>
    <command>
        <name>index-discovery</name>
        <description>Update Discovery Solr Search Index</description>
        <step>
            <class>org.dspace.discovery.IndexClient</class>
        </step>
    </command>
    <command>
        <name>itemupdate</name>
        <description>Item update tool for altering metadata and bitstream content in items</description>
        <step>
            <class>org.dspace.app.itemupdate.ItemUpdate</class>
        </step>
    </command>
    <command>
        <name>make-handle-config</name>
        <description>Run the handle server simple setup command</description>
        <step>
            <class>net.handle.server.SimpleSetup</class>
        </step>
    </command>
    <command>
        <name>metadata-export</name>
        <description>Export metadata for batch editing</description>
        <step>
            <class>org.dspace.app.bulkedit.MetadataExport</class>
        </step>
    </command>
    <command>
        <name>metadata-import</name>
        <description>Import metadata after batch editing</description>
        <step>
            <class>org.dspace.app.bulkedit.MetadataImport</class>
        </step>
    </command>
    <command>
        <name>migrate-embargo</name>
        <description>Embargo manager tool used to migrate old version of Embargo to the new one included in dspace3</description>
        <step>
            <class>org.dspace.embargo.EmbargoCLITool</class>
        </step>
    </command>
    <command>
        <name>oai</name>
        <description>OAI script manager</description>
        <step>
            <class>org.dspace.xoai.app.XOAI</class>
        </step>
    </command>
    <command>
        <name>packager</name>
        <description>Execute a packager</description>
        <step>
            <class>org.dspace.app.packager.Packager</class>
        </step>
    </command>
    <command>
        <name>rdfizer</name>
        <description>The RDFizer manages the attached triple store if dspace-rdf is enabled</description>
        <step>
            <class>org.dspace.rdf.RDFizer</class>
        </step>
    </command>
    <command>
        <name>read</name>
        <description>Execute a stream of 'dspace' commands from a file or pipe</description>
        <step>
            <class>org.dspace.app.launcher.CommandRunner</class>
        </step>
    </command>
    <command>
        <name>registry-loader</name>
        <description>Load entries into a registry</description>
        <step>
            <class>org.dspace.administer.RegistryLoader</class>
        </step>
    </command>
    <command>
        <name>solr-export-statistics</name>
        <description>Export usage statistics data from Solr for back-up purposes</description>
        <step passuserargs="true">
            <class>org.dspace.util.SolrImportExport</class>
	    <argument>-a</argument>
	    <argument>export</argument>
        </step>
    </command>
    <command>
        <name>solr-import-statistics</name>
        <description>Import usage statistics data (as previously exported using solr-export-statistics) into Solr</description>
        <step passuserargs="true">
            <class>org.dspace.util.SolrImportExport</class>
	    <argument>-a</argument>
	    <argument>import</argument>
        </step>
    </command>
    <command>
        <name>solr-reindex-statistics</name>
        <description>Reindex the Solr-based usage statistics, for example after an upgrade that changes the schema</description>
        <step passuserargs="true">
            <class>org.dspace.util.SolrImportExport</class>
	    <argument>-a</argument>
	    <argument>reindex</argument>
        </step>
    </command>
    <command>
        <name>stat-general</name>
        <description>Compile the general statistics</description>
        <step passuserargs="false">
            <class>org.dspace.app.statistics.CreateStatReport</class>
            <argument>-r</argument>
            <argument>stat-general</argument>
        </step>
    </command>
    <command>
        <name>stat-initial</name>
        <description>Compile the initial statistics</description>
        <step passuserargs="false">
            <class>org.dspace.app.statistics.CreateStatReport</class>
            <argument>-r</argument>
            <argument>stat-initial</argument>
        </step>
    </command>
    <command>
        <name>stat-monthly</name>
        <description>Compile the monthly statistics</description>
        <step passuserargs="false">
            <class>org.dspace.app.statistics.CreateStatReport</class>
            <argument>-r</argument>
            <argument>stat-monthly</argument>
        </step>
    </command>
    <command>
        <name>stat-report-general</name>
        <description>Create the general statistics report</description>
        <step passuserargs="false">
            <class>org.dspace.app.statistics.CreateStatReport</class>
            <argument>-r</argument>
            <argument>stat-report-general</argument>
        </step>
    </command>
    <command>
        <name>stat-report-initial</name>
        <description>Create the initial statistics report</description>
        <step passuserargs="false">
            <class>org.dspace.app.statistics.CreateStatReport</class>
            <argument>-r</argument>
            <argument>stat-report-initial</argument>
        </step>
    </command>
    <command>
        <name>stat-report-monthly</name>
        <description>Create the monthly statistics report</description>
        <step passuserargs="false">
            <class>org.dspace.app.statistics.CreateStatReport</class>
            <argument>-r</argument>
            <argument>stat-report-monthly</argument>
        </step>
    </command>
    <command>
        <name>stats-log-converter</name>
        <description>Convert dspace.log files ready for import into solr statistics</description>
        <step>
            <class>org.dspace.statistics.util.ClassicDSpaceLogConverter</class>
        </step>
    </command>
    <command>
        <name>stats-log-importer</name>
        <description>Import previously converted log files into solr statistics</description>
        <step>
            <class>org.dspace.statistics.util.StatisticsImporter</class>
        </step>
    </command>
    <command>
        <name>stats-log-importer-elasticsearch</name>
        <description>Import solr-format converted log files into Elastic Search statistics</description>
        <step>
            <class>org.dspace.statistics.util.StatisticsImporterElasticSearch</class>
        </step>
    </command>
    <command>
        <name>stats-util</name>
        <description>Statistics Client for Maintenance of Solr Statistics Indexes</description>
        <step>
            <class>org.dspace.statistics.util.StatisticsClient</class>
        </step>
    </command>
    <command>
        <name>structure-builder</name>
        <description>Build DSpace community and collection structure</description>
        <step>
            <class>org.dspace.administer.StructBuilder</class>
        </step>
    </command>
    <command>
        <name>sub-daily</name>
        <description>Send daily subscription notices</description>
        <step>
            <class>org.dspace.eperson.SubscribeCLITool</class>
        </step>
    </command>
    <command>
        <name>test-email</name>
        <description>Test the DSpace email server settings are OK</description>
        <step>
            <class>org.dspace.core.Email</class>
        </step>
    </command>
    <command>
        <name>update-handle-prefix</name>
        <description>Update handle records and metadata when moving from one handle to another</description>
        <step>
            <class>org.dspace.handle.UpdateHandlePrefix</class>
        </step>
    </command>
    <command>
        <name>user</name>
        <description>Manipulate a normal user account</description>
        <step>
            <class>org.dspace.eperson.EPersonCLITool</class>
        </step>
    </command>
    <command>
        <name>validate-date</name>
        <description>interactively validate date values against the multi-format date parser (good for testing custom regular expression configurations)</description>
        <step>
            <class>org.dspace.util.MultiFormatDateParser</class>
        </step>
    </command>
    <command>
        <name>version</name>
        <description>Display the version of DSpace and other troubleshooting information</description>
        <step>
            <class>org.dspace.app.util.Version</class>
        </step>
    </command>
</commands>
