13 std::deque < std::shared_ptr < cli::LineInterface > > m_lineInterfaces;
33 template <
class LineInterface >
35 m_lineInterfaces.push_back ( std::make_shared < LineInterface > ( std::forward < LineInterface > ( lineInterface ) ) );
38 template <
class LineInterface >
40 m_lineInterfaces.push_front ( std::make_shared < LineInterface > ( std::forward < LineInterface > ( lineInterface ) ) );
Prompt & operator=(const Prompt &)=delete
Prompt(const Prompt &)=delete
static Prompt & getPrompt()
Definition: Prompt.h:28
void appendCharSequence(LineInterface &&lineInterface)
Definition: Prompt.h:34
cli::Environment & getEnvironment()
Definition: Prompt.h:45
void prependCharSequence(LineInterface &&lineInterface)
Definition: Prompt.h:39
Definition: Environment.h:29
cli::CommandResult run()
Definition: Prompt.cpp:11
CommandResult
Definition: CommandResult.h:10