20#ifndef ORES_SHELL_APP_COMMANDS_CHANGE_REASON_CATEGORIES_COMMANDS_HPP
21#define ORES_SHELL_APP_COMMANDS_CHANGE_REASON_CATEGORIES_COMMANDS_HPP
23#include "ores.logging/make_logger.hpp"
24#include "ores.nats/service/nats_client.hpp"
32namespace ores::shell::app::commands {
39 inline static std::string_view logger_name =
40 "ores.shell.app.commands.change_reason_categories_commands";
44 static auto instance = make_logger(logger_name);
81 std::string code, std::string description,
82 std::string change_commentary);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Authenticated NATS client for both interactive and service-to-service use.
Definition nats_client.hpp:71
Manages commands related to change reason categories.
Definition change_reason_categories_commands.hpp:37
static void process_get_categories(std::ostream &out, ores::nats::service::nats_client &session)
Process a get change reason categories request.
Definition change_reason_categories_commands.cpp:107
static void process_delete_category(std::ostream &out, ores::nats::service::nats_client &session, std::string code)
Process a delete change reason category request.
Definition change_reason_categories_commands.cpp:158
static void process_add_category(std::ostream &out, ores::nats::service::nats_client &session, std::string code, std::string description, std::string change_commentary)
Process an add change reason category request.
Definition change_reason_categories_commands.cpp:121
static void process_get_category_history(std::ostream &out, ores::nats::service::nats_client &session, std::string code)
Process a get category history request.
Definition change_reason_categories_commands.cpp:186
static void register_commands(cli::Menu &root_menu, ores::nats::service::nats_client &session)
Register change reason category-related commands.
Definition change_reason_categories_commands.cpp:78