Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigCommandAPI ¶ added in v0.4.20
type ConfigCommandAPI struct {
*Layout
}
ConfigCommandAPI provides an indirect API for user command interactions with a Table - without causing cyclic imports :-(
func (*ConfigCommandAPI) SetLocaleTag ¶ added in v0.4.20
func (cfg *ConfigCommandAPI) SetLocaleTag(localeTag string)
func (*ConfigCommandAPI) SetPrefix ¶ added in v0.4.20
func (cfg *ConfigCommandAPI) SetPrefix(symbols ...string)
func (*ConfigCommandAPI) SetProfile ¶ added in v0.4.20
func (cfg *ConfigCommandAPI) SetProfile(profile *profile.Profile)
type Layout ¶
type Layout struct {
PrefixParser prefix.Parser // parser for skipping table prefixes
profile.Profile // profile to apply when rendering a table
LocaleTag string // locale to use when sorting
CommandArgs []string // REMOVE: 2026-03-06 ?
Commands []api.Command // commands to apply to a table
Errors []error // command errors
}
no pointers - Layout should be usable without further initialisation
func (*Layout) ApplyConfigCommands ¶ added in v0.4.20
func (l *Layout) ApplyConfigCommands()
func (*Layout) SetCommandArgs ¶ added in v0.4.20
Click to show internal directories.
Click to hide internal directories.