mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-22 04:37:46 +00:00
23 lines
No EOL
632 B
C++
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!"};
|
|
}; |