Skip to content

jonathanwiesel/awm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awm npmV npmDown

Alfred Workflow Manager, using packal.org by Shawn Patrick Rice

Install

To install awm from npm, run:

$ npm install -g awm

Usage

$ 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

Todo

  • 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.

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>/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)

License

Copyright (c) 2014 Jonathan Wiesel

MIT License

Contributors ❤️

About

Alfred workflow manager

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published