mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-21 20:27:45 +00:00
18 lines
590 B
C
18 lines
590 B
C
|
#pragma once
|
||
|
|
||
|
#include <QCommandLineParser>
|
||
|
#include "launchercore.h"
|
||
|
|
||
|
/*
|
||
|
* The CLI interface for Astra, driven primarily by the command-line.
|
||
|
*/
|
||
|
class CMDInterface {
|
||
|
public:
|
||
|
CMDInterface(QCommandLineParser& parser);
|
||
|
|
||
|
bool parse(QCommandLineParser& parser, LauncherCore& core);
|
||
|
|
||
|
private:
|
||
|
QCommandLineOption profileOption = {"default-profile", "Profile to use for default profile and autologin.", "profile"};
|
||
|
QCommandLineOption autologinOption = {"autologin", "Auto-login with the default profile. This requires the profile to have remember username/password enabled!"};
|
||
|
};
|