Radix Relay
Hybrid mesh communications with Signal Protocol encryption
Loading...
Searching...
No Matches
radix_relay::cli_utils::cli_args Struct Reference

Parsed command-line arguments. More...

#include <cli_parser.hpp>

Public Attributes

std::string identity_path = "~/.radix/identity.db"
 Path to identity database file.
 
std::string mode = "hybrid"
 Transport mode (internet/mesh/hybrid)
 
std::string ui_mode = "gui"
 UI mode (tui/gui)
 
bool verbose = false
 Enable verbose logging.
 
bool show_version = false
 Display version and exit.
 
bool send_parsed = false
 True if send subcommand was used.
 
std::string send_recipient
 Recipient for send subcommand.
 
std::string send_message
 Message content for send subcommand.
 
bool peers_parsed = false
 True if peers subcommand was used.
 
bool status_parsed = false
 True if status subcommand was used.
 

Detailed Description

Parsed command-line arguments.

Definition at line 13 of file cli_parser.hpp.

Member Data Documentation

◆ identity_path

std::string radix_relay::cli_utils::cli_args::identity_path = "~/.radix/identity.db"

Path to identity database file.

Definition at line 15 of file cli_parser.hpp.

Referenced by radix_relay::cli_utils::parse_cli_args().

◆ mode

std::string radix_relay::cli_utils::cli_args::mode = "hybrid"

Transport mode (internet/mesh/hybrid)

Definition at line 16 of file cli_parser.hpp.

◆ peers_parsed

bool radix_relay::cli_utils::cli_args::peers_parsed = false

True if peers subcommand was used.

Definition at line 25 of file cli_parser.hpp.

◆ send_message

std::string radix_relay::cli_utils::cli_args::send_message

Message content for send subcommand.

Definition at line 23 of file cli_parser.hpp.

◆ send_parsed

bool radix_relay::cli_utils::cli_args::send_parsed = false

True if send subcommand was used.

Definition at line 21 of file cli_parser.hpp.

◆ send_recipient

std::string radix_relay::cli_utils::cli_args::send_recipient

Recipient for send subcommand.

Definition at line 22 of file cli_parser.hpp.

◆ show_version

bool radix_relay::cli_utils::cli_args::show_version = false

Display version and exit.

Definition at line 19 of file cli_parser.hpp.

◆ status_parsed

bool radix_relay::cli_utils::cli_args::status_parsed = false

True if status subcommand was used.

Definition at line 26 of file cli_parser.hpp.

◆ ui_mode

std::string radix_relay::cli_utils::cli_args::ui_mode = "gui"

UI mode (tui/gui)

Definition at line 17 of file cli_parser.hpp.

◆ verbose

bool radix_relay::cli_utils::cli_args::verbose = false

Enable verbose logging.

Definition at line 18 of file cli_parser.hpp.


The documentation for this struct was generated from the following file: