ArKanjo 0.5.1
A tool for find code duplicated functions in codebases
preprocessor_path.cpp
Go to the documentation of this file.
3
5
6bool PreprocessorPath::validate([[maybe_unused]] const ParsedOptions& options) {
7 return true;
8}
9
10bool PreprocessorPath::run([[maybe_unused]] const ParsedOptions& options) {
11 std::cout << Config::config().base_path.string() << "\n";
12 return true;
13}
static Config & config()
Gets the singleton configuration instance.
Definition: config.cpp:68
bool run(const ParsedOptions &options) override
Executes the main logic of the command.
bool validate(const ParsedOptions &options) override
Validate the arguments already analyzed.
Configuration management interface.
Interface for displaying the cache directory path.
std::filesystem::path base_path
Default base path for temporary files.
Definition: schema.hpp:16