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;
|
2019-04-09 22:03:04 +02:00
|
|
|
|
|
|
|
private:
|
2020-08-30 18:12:42 +02:00
|
|
|
int remove(QString pattern, bool onlyDeleted, bool verbose, bool dryRun);
|
2019-04-16 08:52:07 +02:00
|
|
|
int removePaths(const QStringList &paths, bool verbose, bool dryRun);
|
2019-04-07 20:22:20 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // COMMANDDELETE_H
|