2023-10-30 12:24:58 +01:00
|
|
|
/**
|
|
|
|
* @file src/client/megacmd_client_main.cpp
|
|
|
|
* @brief MEGAcmd: Interactive CLI and service application
|
|
|
|
*
|
|
|
|
* (c) 2013 by Mega Limited, Auckland, New Zealand
|
|
|
|
*
|
|
|
|
* This file is part of the MEGAcmd.
|
|
|
|
*
|
|
|
|
* MEGAcmd is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
*
|
|
|
|
* @copyright Simplified (2-clause) BSD License.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the license along with this
|
|
|
|
* program.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "megacmdclient.h"
|
|
|
|
|
|
|
|
int main(int argc, char* argv[])
|
|
|
|
{
|
2025-01-27 12:24:06 +01:00
|
|
|
#ifdef WIN32
|
|
|
|
megacmd::Instance<megacmd::WindowsConsoleController> windowsConsoleController;
|
|
|
|
#endif
|
|
|
|
|
2023-10-31 18:01:39 +01:00
|
|
|
return megacmd::executeClient(argc, argv, COUT);
|
2023-10-30 12:24:58 +01:00
|
|
|
}
|