examples

package
v0.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2017 License: MIT Imports: 0 Imported by: 0

README

Examples

Each subdirectory contains a complete, but trivial, Alfred workflow demonstrating AwGo features.

After building the executable, copy or symlink the directory to Alfred's workflow directory to try it out.

You can use this script to simplify installing/symlinking workflows that are still in development.

If you've installed that script on your $PATH, you can try out the examples by running:

workflow-install -s /path/to/example

which will symlink the workflow to Alfred's workflow directory.

bookmarks

Custom implementation of fuzzy.Interface.

Displays and filters a list of your Safari bookmarks.

fuzzy

Basic demonstration of using fuzzy filtering.

Displays and filters a list of subdirectories of ~/ in Alfred, and allows you to open the folders or browse them in Alfred.

update

Demonstration of how to enable your workflow to update itself from GitHub releases.

A good template for new workflows.

workflows

Demonstrates AwGo's caching API.

Shows a list of repos from GitHub tagged alfred-workflow.

Documentation

Overview

Package examples contains trivial, but complete, Alfred workflows demonstrating features of AwGo and/or useful workflow idioms.

After building the executable, copy or symlink the directory to Alfred's workflow directory to try it out.

You can use the following script to simplify installing/symlinking workflows that are still in development:

https://gist.github.com/deanishe/35faae3e7f89f629a94e

If you've installed that script on your $PATH, you can try out the examples by running:

workflow-install -s /path/to/example/workflow

which will symlink the workflow to Alfred's workflow directory.

Directories

Path Synopsis
Workflow bookmarks demonstrates implementing fuzzy.Interface on your own structs.
Workflow bookmarks demonstrates implementing fuzzy.Interface on your own structs.
Workflow fuzzy demonstrates AwGo's fuzzy filtering.
Workflow fuzzy demonstrates AwGo's fuzzy filtering.
Workflow update is an example of how to use AwGo's update API.
Workflow update is an example of how to use AwGo's update API.
Workflow workflows searches GitHub repos tagged with "alfred-workflow".
Workflow workflows searches GitHub repos tagged with "alfred-workflow".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL