-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommand.hpp
More file actions
35 lines (25 loc) · 748 Bytes
/
Copy pathcommand.hpp
File metadata and controls
35 lines (25 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* File: /lib/cli/command.hpp
*
* This file is a part of cpplib project which is distributed under MIT License.
* See file LICENSE for full license details.
*
* Copyright (c) 2020-present Nikita Zuev (V.Slavski!) <[email protected]>
*/
#ifndef CPPLIB__lib__cli__command__hpp
#define CPPLIB__lib__cli__command__hpp
#include <vector>
#include "../../lib/tl/noncopyable.hpp"
#include "./param.hpp"
namespace lib::cli {
// PREDECLARATIONS
class Interface;
// DECLARATION lib::cli::Command
struct Command final
: tl::noncopymovable<Command>
{
inline Command( Interface & interface ) : interface( interface ) {}
Interface & interface;
::std::vector<Param> params;
};
} // namespace lib::cli
#endif // CPPLIB__lib__cli__command__hpp