ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
completions.h
Go to the documentation of this file.
1
52#pragma once
53
54#include <stdio.h>
55#include "../../common.h"
56#include "../../options/options.h"
57#include "../../options/registry.h"
58
59#ifdef __cplusplus
60extern "C" {
61#endif
62
73
85
93
104
119
120#ifdef __cplusplus
121}
122#endif
completion_format_t completions_parse_shell_name(const char *shell_name)
Parse shell name string to completion format.
Definition completions.c:54
asciichat_error_t completions_generate_for_shell(completion_format_t format, FILE *output)
Generate shell completions and write to output stream.
Definition completions.c:20
completion_format_t
Supported shell completion formats.
Definition completions.h:66
@ COMPLETION_FORMAT_BASH
Definition completions.h:67
@ COMPLETION_FORMAT_UNKNOWN
Definition completions.h:71
@ COMPLETION_FORMAT_ZSH
Definition completions.h:69
@ COMPLETION_FORMAT_POWERSHELL
Definition completions.h:70
@ COMPLETION_FORMAT_FISH
Definition completions.h:68
const char * completions_get_shell_name(completion_format_t format)
Get human-readable shell name for format.
Definition completions.c:39
option_descriptor_t * completions_collect_all_modes_unique(size_t *count)
Collect options from all modes with deduplication.
Definition completions.c:96
asciichat_error_t
Error and exit codes - unified status values (0-255)
Definition error_codes.h:49
Option descriptor.
Definition builder.h:241