|
43 | 43 | #include <vix/cli/commands/OutdatedCommand.hpp> |
44 | 44 | #include <vix/cli/commands/MakeCommand.hpp> |
45 | 45 | #include <vix/cli/commands/CompletionCommand.hpp> |
| 46 | +#include <vix/cli/commands/InfoCommand.hpp> |
46 | 47 | #include <vix/utils/Env.hpp> |
47 | 48 | #include <vix/cli/Style.hpp> |
48 | 49 | #include <vix/utils/Logger.hpp> |
@@ -214,6 +215,8 @@ namespace vix |
214 | 215 | { return commands::ReplCommand::run(args); }; |
215 | 216 | commands_["cache"] = [](auto args) |
216 | 217 | { return commands::CacheCommand::run(args); }; |
| 218 | + commands_["info"] = [](auto args) |
| 219 | + { return commands::InfoCommand::run(args); }; |
217 | 220 |
|
218 | 221 | commands_["-h"] = [this](auto args) |
219 | 222 | { return help(args); }; |
@@ -467,6 +470,8 @@ namespace vix |
467 | 470 | return commands::ModulesCommand::help(); |
468 | 471 | if (cmd == "p2p") |
469 | 472 | return commands::P2PCommand::help(); |
| 473 | + if (cmd == "info") |
| 474 | + return commands::InfoCommand::help(); |
470 | 475 | if (cmd == "upgrade") |
471 | 476 | return commands::UpgradeCommand::help(); |
472 | 477 | if (cmd == "doctor") |
@@ -554,6 +559,7 @@ namespace vix |
554 | 559 |
|
555 | 560 | // System |
556 | 561 | out << indent(2) << "System:\n"; |
| 562 | + out << indent(3) << "info Show Vix paths and cache locations\n"; |
557 | 563 | out << indent(3) << "doctor Check environment\n"; |
558 | 564 | out << indent(3) << "upgrade Update Vix\n"; |
559 | 565 | out << indent(3) << "uninstall Remove Vix\n\n"; |
|
0 commit comments