20#ifndef ORES_COMMS_SHELL_APP_COMMANDS_COMPRESSION_COMMANDS_HPP
21#define ORES_COMMS_SHELL_APP_COMMANDS_COMPRESSION_COMMANDS_HPP
25#include "ores.logging/make_logger.hpp"
26#include "ores.comms/messaging/handshake_protocol.hpp"
34namespace ores::comms::shell::app::commands {
44 inline static std::string_view logger_name =
45 "ores.comms.shell.app.commands.compression";
49 static auto instance = make_logger(logger_name);
58 static std::uint8_t supported_compression_;
78 return supported_compression_;
92 const std::string& enable,
const std::string& algorithm =
"");
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Manages compression settings for the shell client.
Definition compression_commands.hpp:42
static std::uint8_t get_supported_compression() noexcept
Get the current compression support bitmask.
Definition compression_commands.hpp:77
static void register_commands(cli::Menu &root)
Register compression management commands.
Definition compression_commands.cpp:67
static void process_compression(std::ostream &out, const std::string &enable, const std::string &algorithm="")
Process a compression command.
Definition compression_commands.cpp:85