FERS 0.1.0
The Flexible Extensible Radar Simulator
Loading...
Searching...
No Matches
cli_paths.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-only
2// Copyright (c) 2025-present FERS Contributors (see AUTHORS.md).
3
4#pragma once
5
6#include <filesystem>
7#include <optional>
8#include <string>
9
10namespace core
11{
12 /// Resolves the final simulation output directory from CLI arguments.
13 std::filesystem::path resolveOutputDir(const std::string& script_file,
14 const std::optional<std::string>& output_dir) noexcept;
15
16 /// Resolves the KML output file path from CLI arguments and output directory.
17 std::filesystem::path resolveKmlOutputPath(const std::string& script_file,
18 const std::filesystem::path& final_output_dir,
19 const std::optional<std::string>& kml_file) noexcept;
20}
std::filesystem::path resolveKmlOutputPath(const std::string &script_file, const std::filesystem::path &final_output_dir, const std::optional< std::string > &kml_file) noexcept
Resolves the KML output file path from CLI arguments and output directory.
Definition cli_paths.cpp:25
std::filesystem::path resolveOutputDir(const std::string &script_file, const std::optional< std::string > &output_dir) noexcept
Resolves the final simulation output directory from CLI arguments.
Definition cli_paths.cpp:8