Skip to content
Snippets Groups Projects
Commit 797051a7 authored by Jan Trávníček's avatar Jan Trávníček Committed by Tomáš Pecka
Browse files

decouple Command and Environment classes

parent 9b7e476b
No related branches found
No related tags found
1 merge request!119Merge jt
......@@ -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;
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment