File indexing completed on 2025-01-19 04:22:43

0001 /*
0002 SPDX-FileCopyrightText: 2021 Hamed Masafi <hamed.masfi@gmail.com>
0003 
0004 SPDX-License-Identifier: GPL-3.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "commands/abstractcommand.h"
0010 
0011 namespace Git
0012 {
0013 
0014 class ParameteresCommand : public AbstractCommand
0015 {
0016 public:
0017     ParameteresCommand();
0018     Q_REQUIRED_RESULT const QStringList &args() const;
0019     void setArgs(const QStringList &newArgs);
0020     void appendArg(const QString &arg);
0021 
0022     Q_REQUIRED_RESULT QStringList generateArgs() const override;
0023 
0024 private:
0025     QStringList mArgs;
0026 };
0027 
0028 } // namespace Git