class LoadCommand implements AdminCommand {

    @Override
    public void execute( String[] args ) throws IncorrectUsage, CommandFailed
    {
        arguments.parse( args );
        Path archive = arguments.getMandatoryPath( "from" );
        String database = arguments.get( ARG_DATABASE );
        boolean force = arguments.getBoolean( "force" );

        Config config = buildConfig( database );

        Path databaseDirectory = canonicalPath( getDatabaseDirectory( config ) );
        Path transactionLogsDirectory = canonicalPath( getTransactionalLogsDirectory( config ) );

        deleteIfNecessary( databaseDirectory, transactionLogsDirectory, force );
        load( archive, database, databaseDirectory, transactionLogsDirectory );
    }

    public  LoadCommand( Path homeDir, Path configDir, Loader loader );

}