Alfred Workflow Manager, using packal.org by Shawn Patrick Rice
To install awm
from npm, run:
$ npm install -g awm
$ awm -h
Usage: awm [options] [command]
Commands:
search <keyword> Search workflows by keyword.
info <bundleID> Workflow general information.
open <bundleID> Open specified workflow's directory.
home [bundleID] Opens the workflow's Packal URL. Or Packal home if none specified.
list List installed workflows.
outdated List outdated workflows.
install <bundleID> Install specified workflow.
update Update the manifest file from packal.org.
upgrade [bundleID] Upgrade the specified package or all outdated ones if none specified.
remove <bundleID> Remove specified workflow.
cleanup Remove all cached downloads.
reset Reset the manifest file from packal.org.
Options:
-h, --help output usage information
-V, --version output the version number
- Add tests
- Support real install workflow (not download and open
.alfredworkflow
file). - Support real upgrade workflows (not download and open
.alfredworkflow
file). - Support upgrade ALL outdated.
Support remove workflows.- Support
bundle
installing.
Note: one thing to consider when implementing real install and update is the previous stripping and migration of hotkeys and keywords.
Pull requests are happily accepted. I have little time to finish the TODO list for the moment.
To link the awm
command for development you'll need to fork and clone this project:
$ git clone https://github.com/<your-github-username>/awm
Then make npm
link the awm
command to the local project destination:
$ cd awm
awm$ npm link
This way you can invoke the awm
command in the shell reflecting your local work.
If you wish to unlink from the local project:
$ npm r awm -g
I know,
unlink
should do the trick but no. (npm/npm#4005)
Copyright (c) 2014 Jonathan Wiesel