#ifndef CHECK_AND_FETCH_CUSTOMER_REPOSITORY_COMMAND_H_INCLUDED
#define CHECK_AND_FETCH_CUSTOMER_REPOSITORY_COMMAND_H_INCLUDED

#include "update_command.h"

class CheckAndFetchCustomerRepositoryCommand : public UpdateCommand {
public:
    explicit CheckAndFetchCustomerRepositoryCommand(QString const &command,
                                                    Worker *worker,
                                                    int nextCommandIndex,
                                                    int start_timeout = 100000,
                                                    int finish_timeout = 100000);
    QString m_commandResult{};
public slots:
    virtual void readyReadStandardOutput() override;
    virtual void finished(int exitCode, QProcess::ExitStatus exitStatus) override;
};

#endif // CHECK_AND_FETCH_CUSTOMER_REPOSITORY_COMMAND_H_INCLUDED