looqs/cli/commanddelete.h

17 linhas
414 B
C
Original Visão normal Histórico

2019-04-07 20:22:20 +02:00
#ifndef COMMANDDELETE_H
#define COMMANDDELETE_H
#include "command.h"
class CommandDelete : public Command
{
public:
using Command::Command;
int handle(QStringList arguments) override;
private:
int removeNonExistent(QSqlDatabase &db, bool verbose, bool dryRun, QString pattern);
int removePaths(const QStringList &paths, QSqlDatabase &db, bool verbose, bool dryRun);
2019-04-07 20:22:20 +02:00
};
#endif // COMMANDDELETE_H