ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
del.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 <filesystem>
10#include <memory>
11#include <string>
12
17 std::string path;
18 bool force = false; // Required for wildcard deletions
19 bool yes = false; // Skip confirmation prompt
20};
21
33void setup_subcommand_del(CLI::App &app, std::shared_ptr<RuxOptions> global_opt);
34
38int run_subcommand_del(const DatabaseDelOptions &opt, const RuxOptions &global_opt);
void setup_subcommand_del(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
Setup unified database del subcommand.
int run_subcommand_del(const DatabaseDelOptions &opt, const RuxOptions &global_opt)
Execute unified database del command.
Options for unified database del command.
Definition del.hpp:16
std::string path
Definition del.hpp:17