1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-21 20:27:45 +00:00
astra/launcher/cli/include/cmdinterface.h

23 lines
641 B
C
Raw Normal View History

#pragma once
#include "launchercore.h"
2022-08-15 11:14:37 -04:00
#include <QCommandLineParser>
/*
* The CLI interface for Astra, driven primarily by the command-line.
*/
class CMDInterface {
public:
2022-09-05 17:26:26 -04:00
explicit CMDInterface(QCommandLineParser& parser);
bool parse(QCommandLineParser& parser, LauncherCore& core);
private:
2022-08-15 11:14:37 -04:00
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!"};
};