awm command
[--options
] [arguments
]
Extend homebrew-alfred to manage your Alfred workflow* development cycle from the command line.
* Requires the paid Powerpack upgrade.
brew(1) tap danielbayley/alfred
brew(1) install awm
command |
[options] /arguments |
--help |
---|---|---|
- [-h ]elp |
Display this helpful summary. | |
- [-v ]ersion |
Print the installed version of awm . |
|
--workflows |
Print the workflows installation path. brew(1) alfred --workflows alias. |
|
info |
[alfred- ]workflow |
Display info rmation about the given workflow[s]. brew(1) alfred info alias. |
list /ls |
List installed workflows. brew(1) alfred list alias. |
|
[un ]install /rm /zap |
[alfred- ]workflow |
[un ]install the given workflow[s]. brew(1) alfred [un ]install /zap alias. |
update |
Update all workflows. brew(1) alfred update alias. |
|
disable /enable |
[alfred- ]workflow |
Toggle activation of the given workflow[s] in Alfred. |
init |
[**/folder ] |
git(1) init ialise a workflow based on the project template. |
--template **/template |
Specify a path to override the default workflow template. This takes precedence over HOMEBREW_AWM_TEMPLATE . |
|
dev [elop ] |
[alfred- ]workflow |
git(1) clone or download an existing workflow, ready for local development. |
--icon ["App Name" /*.app ] |
Generate a workflow icon with librsvg if an icon.svg is present, or copy from a given app. Should the workflow bundle ID exactly match that of an existing app, then the corresponding icon is copied. osascript(1) -e 'id of app "Name"' will give you the bundle ID of any app. |
|
[un ]link |
Symlink or unlink the current directory into the workflows install path for Alfred to [un]load. |
|
prune |
Remove any broken symlinks in the workflows install path. brew(1) alfred prune alias. |
|
test |
Run any pre-commit hook, or npm(1) test if a package.json is present. |
|
[un ]publish |
[M ]ajor / [m ]inor / [p ]atch |
Bump the Semantic Version number and cut a release using ghr . |
[v ]M.m.p /--amend |
Manually specify a version, or --amend the latest release. Existing given versions will be --amend ed. |
|
--preview |
List contents of the previously generated .alfredworkflow . |
|
- [-i ]nclude gl*b |
Force inclusion of any extra uncommit ted files matching the given glob pattern. These are passed to the underlying zip(1) command. Multiple patterns can be specified with additional - [-i ]nclude patterns. |
|
- [-t ]itle |
Specify a release title, other than the default (vM.m.p ). |
|
- [-d ]escription |
Describe this release. |
Note that the alfred-
prefix is optional when passing workflow names as arguments, of which multiple can be given.
-
awm info things alfred-numi
: Display brew(1)alfred info
rmation aboutalfred-things
andalfred-numi
. -
awm develop numi
: git(1)clone
the associated repository and reinit
ialise it,
running anypost-checkout
hook, thenawm link
it into the
workflows
install path, ready for local development. -
awm publish major -t "First Release"
: Generate the.alfredworkflow
and cut av1.0.0
(if initial) release, with the given--title
. -
awm publish --amend -i \*.md
: Add any uncommit
ed markdown files to the previous release.
Export a HOMEBREW_AWM_TEMPLATE
variable with a specified path to override the default workflow template.
Open an issue
Daniel Bayley daniel.bayley@me.com
MIT (C) 2018 Daniel Bayley
Homebrew
External command
homebrew
-alfred
git(1) init
Templates
pre-commit
hook
post-checkout
hook
package.json
npm(1) test
Glob patterns
Sym[bolic] links
Semantic Versioning
GitHub Releases
ghr
brew(1), curl(1), git(1), npm(1), rsvg-convert(1), zip(1), zsh(1)