diff --git a/alib2cli/src/command/Command.h b/alib2cli/src/command/Command.h index 3bb6ec8d4d6380e86fd5ebe0d850cf102158f401..23cddb86b639a83182b38a82005a102a439d0194 100644 --- a/alib2cli/src/command/Command.h +++ b/alib2cli/src/command/Command.h @@ -2,10 +2,11 @@ #define _CLI_COMMAND_H_ #include <command/CommandResult.h> -#include <environment/Environment.h> namespace cli { +class Environment; + class Command { public: virtual ~Command ( ) noexcept = default; diff --git a/alib2cli/src/environment/Environment.h b/alib2cli/src/environment/Environment.h index 351dbb7e672fade7cc90bdb39b9172a8dfdfebd4..38dbc2ebcac186a813e4e70bcc3644ddd2aed96b 100644 --- a/alib2cli/src/environment/Environment.h +++ b/alib2cli/src/environment/Environment.h @@ -16,6 +16,8 @@ namespace cli { +class Command; + class Environment { ext::map < std::string, std::string > m_bindings; ext::map < std::string, std::shared_ptr < abstraction::Value > > m_variables;