alfred

command
v0.0.0-...-30d785b Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

The alfred command can be used to manage Go-based Alfred workflows.

The command must be run from a workflow directory, a directory containing a "workflow" subdirectory. The basename of the workflow directory is the workflow's filename. A typical layout would look like:

my-workflow/
	README.md
	LICENSE.txt
	main.go
	workflow/
		info.plist
		icon.png

Installation:

go install github.com/jason0x43/go-alfred/alfred

Usage:

alfred [command] [options]

The available commands are:

build
	Build the workflow executable and output it into the "workflow"
	subdirectory.
clean
	Delete the compiled workflow executable and the workflow distributable
	package.
info
	Display information about the workflow.
link
	Link the "workflow" subdirectory into Alfred's preferences directory,
	installing it.
pack [outdir]
	Package the workflow for distribution. This will create a file named
	<filename>.alfredworkflow, where "filename" is the basename of the
	workflow directory.
release [outdir]
	Prepare the repo for release.
unlink
	Unlink the "workflow" subdirectory from Alfred's preferences directory,
	uninstalling it.

Jump to

Keyboard shortcuts

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