23#ifndef MUTT_CLI_OBJECTS_H
24#define MUTT_CLI_OBJECTS_H
#define ARRAY_HEAD(name, type)
Define a named struct for arrays of elements of a certain type.
Convenience wrapper for the library headers.
struct CommandLine * command_line_new(void)
Create a new CommandLine.
void command_line_free(struct CommandLine **ptr)
Free a CommandLine.
HelpMode
Show detailed help.
@ HM_SEND
Help about sending email options.
@ HM_ALL
Help about all options.
@ HM_HELP
Help about help.
@ HM_INFO
Help about info options.
@ HM_TUI
Help about starting the tui options.
@ HM_SHARED
Help about shared config options.
String manipulation buffer.
Help Mode Command Line options.
bool version
-v Print version
bool license
-vv Print license
enum HelpMode mode
Display detailed help.
bool is_set
This struct has been used.
Info Mode Command Line options.
bool show_help
-O Show one-liner help
bool is_set
This struct has been used.
struct StringArray queries
-Q Query a config option
struct StringArray alias_queries
-A Lookup an alias
bool dump_config
-D Dump the config
bool dump_changed
-DD Dump the changed config
bool hide_sensitive
-S Hide sensitive config
Send Mode Command Line options.
struct Buffer draft_file
-H Use this draft file
bool is_set
This struct has been used.
struct Buffer include_file
-i Use this include file
struct StringArray cc_list
-c Add a Cc:
struct StringArray attach
-a Attach a file
bool use_crypto
-C Use CLI crypto
bool edit_infile
-E Edit the draft/include
struct StringArray bcc_list
-b Add a Bcc:
struct StringArray addresses
Send to these addresses.
struct Buffer subject
-s Use this Subject:
Shared Command Line options.
struct Buffer log_level
-d Debug log level
struct Buffer log_file
-l Debug log file
struct StringArray commands
-e Run these commands
bool is_set
This struct has been used.
bool disable_system
-n Don't read the system config file
struct StringArray user_files
-F Use these user config files
struct Buffer mbox_type
-m Set the default Mailbox type
TUI Mode Command Line options.
bool read_only
-R Open Mailbox read-only
bool start_any_mail
-z Check for Any Mail
bool start_nntp
-G Open an NNTP Mailbox
struct Buffer nntp_server
-g Open this NNTP Mailbox
bool is_set
This struct has been used.
struct Buffer folder
-f Open this Mailbox
bool start_postponed
-p Open Postponed emails
bool start_new_mail
-Z Check for New Mail
bool start_browser
-y Open the Mailbox Browser
struct CliSend send
Send Mode command line options.
struct CliShared shared
Shared command line options.
struct CliHelp help
Help Mode command line options.
struct CliInfo info
Info Mode command line options.
struct CliTui tui
Tui Mode command line options.