Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
HelpCommand.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <ast/Arg.h>
9#include <ast/Command.h>
11
12namespace cli {
13
14class HelpCommand : public Command {
15 std::unique_ptr < cli::Arg > m_command;
16
17public:
18 HelpCommand ( std::unique_ptr < cli::Arg > command ) : m_command ( std::move ( command ) ) {
19 }
20
21 CommandResult run ( Environment & environment ) const override;
22};
23
24} /* namespace cli */
25
Definition: Command.h:14
Definition: Environment.h:29
Definition: HelpCommand.h:14
HelpCommand(std::unique_ptr< cli::Arg > command)
Definition: HelpCommand.h:18
CommandResult run(Environment &environment) const override
Definition: HelpCommand.cpp:12
Definition: Arg.h:11
CommandResult
Definition: CommandResult.h:10
Definition: FordFulkerson.hpp:16