Arkanjo 0.2
A tool for find code duplicated functions in codebases
Loading...
Searching...
No Matches
preprocessor_list.hpp
Go to the documentation of this file.
1
11#pragma once
12
15namespace fs = std::filesystem;
16
21 std::string name;
22 std::string id;
23 std::string disk_usage;
24 std::string extra;
25};
26
34class PreprocessorList : public CommandBase<PreprocessorList> {
35private:
36 bool no_color;
37
42 void print_containers(std::vector<ContainerInfo>& containers);
43
44public:
46
47 COMMAND_DESCRIPTION("Creates the foundation for fast query responses during the main operation phase.")
48
49 bool validate(const ParsedOptions& options) override;
50
51 bool run(const ParsedOptions& options) override;
52};
const CliOption * options() const final
Lists all available preprocessor containers.
bool run(const ParsedOptions &options) override
Executes the main logic of the command.
bool validate(const ParsedOptions &options) override
Validate the arguments already analyzed.
#define COMMAND_DESCRIPTION(str)
Configuration management interface.
Container metadata representation.
std::string name
Container name.
std::string extra
Additional info.
std::string id
Unique container ID.
std::string disk_usage
Human-readable disk usage.