Versions in this module Expand all Collapse all v0 v0.4.2 Nov 13, 2024 Changes in this version + const CacheLimitFlag + const CompletionFlag + const FileFlag + const PlayFlag + const RuleStringFlag + const ShellBash + const ShellFish + const ShellPowerShell + const ShellZsh + const URLFlag + func InitLog(level slog.Level) + func NewContext(ctx context.Context, conf *Config) context.Context + func RegisterCompletion(cmd *cobra.Command) error + type Config struct + CacheLimit int + Completion string + Pattern string + PatternFormat string + Play bool + RuleString string + func FromContext(ctx context.Context) (*Config, bool) + func New() *Config + func (c *Config) RegisterFlags(fs *pflag.FlagSet) + type DeprecatedWriter struct + func (d DeprecatedWriter) Write(b []byte) (int, error)