Versions in this module Expand all Collapse all v0 v0.19.0 May 27, 2026 Changes in this version + func AuditLogPath() string + func AutoSaveTrackerConfig(parsed *tracker.ParsedURL, configDir string) error + func DestructiveLogPath() string + func FormatDestructiveMessage(entry tracker.DestructiveEntry) string + func InstanceFromFlags(cmd *cobra.Command) *tracker.Instance + func InstanceFromURL(parsed *tracker.ParsedURL) (*tracker.Instance, bool) + func LoadAllInstances(dir string) ([]tracker.Instance, error) + func LoadAllInstancesCtx(ctx context.Context, dir string) ([]tracker.Instance, error) + func LoadAllInstancesWithResolver(dir string, lookup config.EnvLookup, resolver *vault.Resolver) ([]tracker.Instance, error) + func LoadNotionIndexInstances(dir string) ([]index.NotionInstance, error) + func PrintConnectedTrackers(w io.Writer, loader func() ([]tracker.Instance, error)) + func PrintExamples(w io.Writer) + func PrintJSON(w io.Writer, v any) error + func ResolveProvider(cmd *cobra.Command, kind string, deps Deps) (tracker.Provider, func(), error) + func SetupHelp(rootCmd *cobra.Command, loader func() ([]tracker.Instance, error)) + func SplitIDs(ids string) []string + func TruncateRunes(s string, maxRunes int) string + func WarnSkippedTrackers(w io.Writer, dir string, loaded []tracker.Instance) bool + type AutoResult struct + Cleanup func() + Key string + Kind string + Provider tracker.Provider + func ResolveAutoProvider(ctx context.Context, cmd *cobra.Command, input string, allowFindFallback bool, ...) (*AutoResult, error) + type Deps struct + AuditLogPath func() string + DestructiveLogPath func() string + DestructiveNotifier func(ctx context.Context) tracker.DestructiveNotifier + InstanceFromFlags func(cmd *cobra.Command) *tracker.Instance + LoadInstances func(dir string) ([]tracker.Instance, error) + LoadInstancesCtx func(ctx context.Context, dir string) ([]tracker.Instance, error) + func DefaultDeps() Deps + type DispatchDestructiveNotifier struct + ChatID int64 + Notifier dispatch.Notifier + func (d *DispatchDestructiveNotifier) NotifyDestructive(ctx context.Context, entry tracker.DestructiveEntry)