1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 12:47:44 +00:00
astra/launcher/cli/include/cmdinterface.h
2022-08-15 11:14:37 -04:00

23 lines
No EOL
632 B
C++

#pragma once
#include "launchercore.h"
#include <QCommandLineParser>
/*
* 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!"};
};