Documentation
¶
Overview ¶
Package flags manages command line arguments and flags
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // HS is matrix homeserver (supports delegation) HS *string // Login is matrix user login Login *string // Password is matrix user password Password *string // Room id or alias (raw) Room *string // Room ID RoomID id.RoomID // RoomAlias RoomAlias id.RoomAlias // Since load only messages since this timestamp. Format (RFC3339): YYYY-MM-DDTHH:MM:SSZ, e.g. 2023-10-01T00:00:00Z Since *string // StartAt is a converted time.Time from Since StartAt time.Time // Ignore messages by following MXIDs Ignore *string // Append enforces appending to the output file, useful when you are using multi output mode, but want to have multiple messages in a single file Append *bool // Limit of messages Limit *int // Template file Template *string // Output file name. If filename contains %s it will be replaced with event ID (in case of one file per message) Output *string }
Config from the command line args and flags
Click to show internal directories.
Click to hide internal directories.