|
ORE Studio 0.0.4
|
Manages commands related to variability subsystem. More...
#include <variability_commands.hpp>

Static Public Member Functions | |
| static void | register_commands (cli::Menu &root_menu, comms::net::client_session &session) |
| Register variability-related commands. | |
| static void | process_list_feature_flags (std::ostream &out, comms::net::client_session &session) |
| Process a list feature flags request. | |
| static void | process_add_feature_flag (std::ostream &out, comms::net::client_session &session, std::string name, std::string enabled, std::string description, std::string change_reason_code, std::string change_commentary) |
| Process an add feature flag request. | |
| static void | process_delete_feature_flag (std::ostream &out, comms::net::client_session &session, std::string name) |
| Process a delete feature flag request. | |
| static void | process_get_feature_flag_history (std::ostream &out, comms::net::client_session &session, std::string name) |
| Process a get feature flag history request. | |
Manages commands related to variability subsystem.
Handles feature flags, configuration toggles, and other variability-related operations.
|
static |
Register variability-related commands.
Creates the variability submenu and adds variability operations.
|
static |
Process a list feature flags request.
Retrieves all feature flags from the server and displays them.
| out | Output stream for results |
| session | Client session for connectivity. |

|
static |
Process an add feature flag request.
Creates a new feature flag with the provided details.
| out | Output stream for results |
| session | Client session for connectivity. |
| name | Unique flag name |
| enabled | Whether the flag is enabled ("true" or "false") |
| description | Human-readable description |
| change_reason_code | Code identifying the reason for the change |
| change_commentary | Free-text commentary |

|
static |
Process a delete feature flag request.
Deletes a feature flag by its name. Requires authentication.
| out | Output stream for results |
| session | Client session for connectivity. |
| name | Name of the feature flag to delete |

|
static |
Process a get feature flag history request.
Retrieves the version history for a feature flag by its name.
| out | Output stream for results |
| session | Client session for connectivity. |
| name | Name of the feature flag |
