looqs/cli/commanddelete.h

17 lines
373 B
C
Raw Normal View History

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;
2019-04-07 20:22:20 +02:00
int handle(QStringList arguments) override;
private:
int remove(QString pattern, bool onlyDeleted, bool verbose, bool dryRun);
int removePaths(const QStringList &paths, bool verbose, bool dryRun);
2019-04-07 20:22:20 +02:00
};
#endif // COMMANDDELETE_H