Versions in this module Expand all Collapse all v0 v0.0.6 Dec 9, 2024 Changes in this version + const DefaultTTL + const EnvPath + const EnvTTL + type Base struct + Path string + TTL time.Duration + func (b *Base) ClearLine(fd *os.File) + func (b *Base) InputFetcher(prompt string) func() ([]byte, error) + func (b *Base) InputFetcherWithConfirm(prompt, confirmation string) func() ([]byte, error) + func (b *Base) IsTerm(f *os.File) bool + func (b *Base) SetFlags(f *flag.FlagSet) + func (b *Base) ShowValue(ctx context.Context, fd *os.File, timeout time.Duration, value []byte) error