Genie for Alfred
Install Alfred Genie.alfredworkflow
in Alfred and use the genie
command to use any available function.
$ pip install alfred-genie
Then the following commands will be available
$ alfred-genie
Usage: alfred-genie [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
base64-decode
base64-encode
commands # ignore this as this is only used from Alfred
format-json
minify-json
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
You'll need a working version of Python3
to run these scripts.
python3 -m venv venv
source venv/bin/activate
$ pip install -r requirements.txt
$ python local_main.py ...
For publishing it in workflow, we need to perform following additional steps
$ diffmerge ~/workspace/alfred-genie/ `pwd`/
pip install --target=. click
$ make package
Enter the username and password for pypi.org repo when prompted