Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
ConvertCommand.hpp
Go to the documentation of this file.
1
8
9#pragma once
10
11#include <string>
12
13namespace correlation::cli {
14
19 std::string input_file;
20 std::string output_file;
21 std::string from_format;
22 std::string to_format;
23 bool fractional{true};
24 bool quiet{false};
25};
26
32int executeConvert(const ConvertOptions &opts);
33
34} // namespace correlation::cli
Definition CliParser.hpp:23
int executeConvert(const ConvertOptions &opts)
Executes the structure format conversion workflow.
Definition ConvertCommand.cpp:16
Options for the convert CLI subcommand.
Definition ConvertCommand.hpp:18
bool fractional
Coordinate convention (true = fractional/direct, false = cartesian).
Definition ConvertCommand.hpp:23
std::string input_file
Source structure file path.
Definition ConvertCommand.hpp:19
bool quiet
Suppress console progress messages.
Definition ConvertCommand.hpp:24
std::string from_format
Explicit source format override.
Definition ConvertCommand.hpp:21
std::string to_format
Explicit destination format override.
Definition ConvertCommand.hpp:22
std::string output_file
Destination structure file path.
Definition ConvertCommand.hpp:20