Deprecate the command line interface. (#9485)
--------- Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
This commit is contained in:
@@ -514,7 +514,9 @@ class CLI {
|
||||
};
|
||||
} // namespace xgboost
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
int main(int argc, char* argv[]) {
|
||||
LOG(WARNING)
|
||||
<< "The command line interface is deprecated and will be removed in future releases.";
|
||||
try {
|
||||
xgboost::CLI cli(argc, argv);
|
||||
return cli.Run();
|
||||
|
||||
Reference in New Issue
Block a user