Skip to content

Commit

Permalink
TODO: Implement 'lpm install' handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Coal committed Feb 22, 2022
1 parent d65c62c commit 1827bc9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bool Command::execute(Type command_type, args_t& args) {
}
} catch (...) {
LPM_PRINT_ERROR("Failed to execute command: " << command_type);
LPM_PRINT_DEBUG("Exception: " << ErrorHandling::what());
LPM_PRINT_DEBUG("Exception:\n" << ErrorHandling::what());
}

return true;
Expand Down
4 changes: 4 additions & 0 deletions src/handlers/install.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#include "install.h"
#include "lpm/macros.h"
#include "lpm/packages.h"

using namespace LPM;

void Handlers::install(args_t& args) {
LPM_PRINT("Handlers::install()");
PackagesData package(LPM_DEFAULT_PACKAGES_PATH);
}
2 changes: 1 addition & 1 deletion src/library

0 comments on commit 1827bc9

Please sign in to comment.