Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Complete ¶
func Complete(cfg config.Config, env Environment) alfred.FilterResult
Complete runs the main completion code
Types ¶
type Environment ¶
Environment represents the runtime environment from Alfred's invocation of this binary.
func LoadAlfredEnvironment ¶
func LoadAlfredEnvironment(input string) Environment
LoadAlfredEnvironment extracts the runtime environment from the OS environment
The result of a script filter can set environment variables along with a "rerun this" timer for another invocation, and this retrieves and stores that information.
Exported publicly for use with debugging
func (Environment) Duration ¶
func (e Environment) Duration() time.Duration
Duration since alfred saw the first query
Click to show internal directories.
Click to hide internal directories.