Alfred v0.3.1 Alfred View Source

A library for interoperating with Alfred, intended to make it easy to create tools and workflow extensions for Alfred in Elixir.

This module contains functions to access the Alfred Script Environment variables.

Link to this section Summary

Functions

Retrieves the Alfred version build number

Determines if Alfred is debugging the workflow

Retrieves the Alfred preferences information as Alfred.Preferences

Retrieves the Alfred theme information as Alfred.Theme

Gets the Alfred version running the workflow

Gets the Alfred version text

Retrieves the Alfred workflow information as Alfred.Workflow

Link to this section Functions

Retrieves the Alfred version build number.

From the environment variable alfred_version_build.

Link to this function debugging?() View Source
debugging?() :: boolean()

Determines if Alfred is debugging the workflow.

From the environment variable alfred_debug.

Link to this function preferences_info() View Source
preferences_info() :: Alfred.Preferences.t()

Retrieves the Alfred preferences information as Alfred.Preferences.

Retrieves the Alfred theme information as Alfred.Theme.

Gets the Alfred version running the workflow.

Returns a Version containing the version information parsed from environment alfred_version.

Link to this function version_text() View Source
version_text() :: String.t()

Gets the Alfred version text.

From the environment alfred_version.

Link to this function workflow_info() View Source
workflow_info() :: Alfred.Workflow.t()

Retrieves the Alfred workflow information as Alfred.Workflow.