Skip to main content

LEGACY_ACTION_ROWS

Constant LEGACY_ACTION_ROWS 

Source
pub const LEGACY_ACTION_ROWS: &[OptionSpec];
Expand description

What: The action rows of the form without a subcommand word (config.c:1373-1387). Why: Each is an OPT_CMDMODE, which takes no value and has no --no- form.

In TS you’d write (pseudocode):

export const LEGACY_ACTION_ROWS = [row(UNREAD, undefined, 'get', 'none', false), /* ... */] as const;