0.1.0 • Published 9 years ago
awm v0.1.0
awm

Alfred Workflow Manager, using packal.org by Shawn Patrick Rice
Install
To install awm from npm, run:
$ npm install -g awmUsage
$ 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 numberTodo
- Add tests
- Support real install workflow (not download and open
.alfredworkflowfile). - Support real upgrade workflows (not download and open
.alfredworkflowfile). - Support upgrade ALL outdated.
Support remove workflows.- Support
bundleinstalling.
Note: one thing to consider when implementing real install and update is the previous stripping and migration of hotkeys and keywords.
Development
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>/awmThen make npm link the awm command to the local project destination:
$ cd awm
awm$ npm linkThis 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 -gI know,
unlinkshould do the trick but no. (https://github.com/npm/npm/issues/4005)
License
Copyright (c) 2014 Jonathan Wiesel