ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
log.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2025 Povl Filip Sonne-Frederiksen
2
//
3
// SPDX-License-Identifier: GPL-3.0-or-later
4
5
#pragma once
6
#include "
global-params.hpp
"
7
8
#include <CLI/CLI.hpp>
9
#include <memory>
10
11
namespace
fs = std::filesystem;
12
14
struct
SubcommandLogOptions
{
15
bool
json_output
=
false
;
16
int
limit
= 0;
// 0 = no limit
17
};
18
19
// Function declarations
20
void
setup_subcommand_log
(CLI::App &app, std::shared_ptr<RuxOptions> global_opt);
21
int
run_subcommand_log
(
SubcommandLogOptions
const
&opt,
const
RuxOptions
&global_opt);
global-params.hpp
setup_subcommand_log
void setup_subcommand_log(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
run_subcommand_log
int run_subcommand_log(SubcommandLogOptions const &opt, const RuxOptions &global_opt)
RuxOptions
Definition
global-params.hpp:44
SubcommandLogOptions
Options for the log subcommand.
Definition
log.hpp:14
SubcommandLogOptions::json_output
bool json_output
Definition
log.hpp:15
SubcommandLogOptions::limit
int limit
Definition
log.hpp:16
apps
rux
include
log.hpp
Generated by
1.16.1