Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Command.h
Go to the documentation of this file.
1
6#pragma once
7
9
10namespace cli {
11
12class Environment;
13
14class Command {
15public:
16 virtual ~Command ( ) noexcept = default;
17
18 virtual CommandResult run ( Environment & environment ) const = 0;
19};
20
21} /* namespace cli */
22
Definition: Command.h:14
virtual ~Command() noexcept=default
virtual CommandResult run(Environment &environment) const =0
Definition: Environment.h:29
Definition: Arg.h:11
CommandResult
Definition: CommandResult.h:10