#include "Manager/MaCh3Logger.h"
#include "CLI/Modules/Plot/PredictiveModule.hpp"
Go to the source code of this file.
|
| int | main (int argc, char const *argv[]) |
| |
- Author
- Kamil Skwarczynski
Definition in file PredictivePlotting.cpp.
◆ main()
| int main |
( |
int |
argc, |
|
|
char const * |
argv[] |
|
) |
| |
- Warning
- KS: keep raw pointer or ensure manual delete of PlotMan. If spdlog in automatically deleted before PlotMan then destructor has some spdlog and this could cause segfault
Definition at line 9 of file PredictivePlotting.cpp.
10 MACH3LOG_WARN(
"Deprecation Warning: Use of the standalone executable will be deprecated in future releases.");
11 MACH3LOG_WARN(
" : you can use 'mach3 plot predictive' as a direct replacement instead.");
12 argv[0] =
"predictive";
13 M3::PredictiveModule proc;
15 parser->parse_args(argc, argv);
17 MACH3LOG_WARN(
"Deprecation Warning: Use of the standalone executable will be deprecated in future releases.");
18 MACH3LOG_WARN(
" : you can use 'mach3 plot predictive' as a direct replacement instead.");
Extended ArgumentParser with MaCh3-specific functionality.