Versions in this module Expand all Collapse all v0 v0.2.0 Jan 2, 2026 Changes in this version + func NoAutoSync() bool v0.1.0 Dec 23, 2025 Changes in this version + func EnsureDirectories() error + func Execute() error + func GetAliasesPath() string + func GetConfigDir() string + func GetFields() []string + func GetMediaDir() string + func GetMessagesDBPath() string + func GetSessionDBPath() string + func GetStoreDir() string + func IsJSON() bool + func IsVerbose() bool + func NoHeader() bool + func Output(data any) error + func OutputResult(data any, humanMsg string) error + func OutputWarning(format string, args ...any) + func ParseTimeframe(timeframe string) (after string, before string, err error) + func RemoveAlias(jid string) error + func SetAlias(jid, alias string) error + func SetStoreDir(dir string) + func WithConnection(fn func(*store.DB, *whatsapp.Client) error) error + func WithDB(fn func(*store.DB) error) error + type Aliases map[string]string + func LoadAliases() (Aliases, error) + func (a Aliases) Get(aliasOrJID string) string + func (a Aliases) Remove(alias string) + func (a Aliases) Save() error + func (a Aliases) Set(alias, jid string) + type Format string + const FormatCSV + const FormatHuman + const FormatJSON + const FormatJSONL + const FormatTSV + func GetFormat() Format + func (f Format) IsValid() bool + type JIDAlias map[string]string + func ListAliases() (JIDAlias, error) + type OutputOptions struct + Fields []string + Format Format + NoHeader bool + func GetOutputOptions() OutputOptions + func (o OutputOptions) Validate() error + type TimeframePreset string + const TimeframeLast3Days + const TimeframeLastHour + const TimeframeLastWeek + const TimeframeThisMonth + const TimeframeThisWeek + const TimeframeToday + const TimeframeYesterday