ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
configuration.c
Go to the documentation of this file.
1
14
15// ============================================================================
16// CONFIGURATION CATEGORY - Configuration file options
17// ============================================================================
19 // CONFIGURATION GROUP (binary-level)
20 {"config",
21 '\0',
23 offsetof(options_t, config_file),
24 "",
25 0,
26 "Load configuration from toml FILE.",
27 "CONFIGURATION",
28 "FILE",
29 false,
30 NULL,
31 NULL,
32 NULL,
33 false,
34 false,
36 {0},
37 NULL},
38 {"config-create",
39 '\0',
41 0,
42 NULL,
43 0,
44 "Create default config file and write to FILE or stdout if not specified.",
45 "CONFIGURATION",
46 "[FILE]",
47 false,
48 NULL,
49 NULL,
50 NULL,
51 false,
52 false,
54 {0},
55 NULL},
56 {"completions",
57 '\0',
59 0,
60 NULL,
61 0,
62 "Generate shell completions (bash, fish, zsh, powershell) and output to stdout (or optional file path).",
63 "CONFIGURATION",
64 "SHELL [FILE]",
65 false,
66 NULL,
67 NULL,
68 NULL,
69 false,
70 false,
72 {0},
73 NULL},
74 {"man-page-create",
75 '\0',
77 0,
78 NULL,
79 0,
80 "Generate man page and write to FILE or stdout if not specified.",
81 "CONFIGURATION",
82 "[FILE]",
83 false,
84 NULL,
85 NULL,
86 NULL,
87 false,
88 false,
90 {0},
91 NULL},
92
@ OPTION_TYPE_STRING
String value (–name foo)
Definition builder.h:164
const registry_entry_t g_configuration_entries[]
@ OPTION_MODE_BINARY
Binary-level options (parsed before mode detection)
Shared structures and macros for registry implementation.
#define REGISTRY_TERMINATOR()
Initialize a terminator entry (sentinel value for array end) Uses designated initializers to properly...
Consolidated options structure.
Registry entry - stores option definition with mode bitmask and metadata.