Skip to main content

manage Alfred workflow via yaml templates

Project description

version license pypi_version python_versions circle-ci codeclimate

The Alfred Workflows management tool with a divide and rule manner.

Alfred Workflows contains README and scripts in single info.plist, and it’s hard to maintain by common development methods, edit script with your favorite editor or track script changes with VCS.

yamlfred translate info.plist and generates files, simplified configuration, called workflow.yml, scripts and README.

This enable us to edit each script files or track changes with VCS.

In addition, yamlfred has abilities to extract or create Alfred workflow, translate a workflow.yml into an info.plist and vice a versa.

Installation

To install yamlfred, use pip install:

$ pip install yamlfred

For the case of uninstall, use pip uninstall yamlfred:

$ pip uninstall yamlfred

Usage

  • Extract existing Alfred workflow:

    $ yamlfred extract {{workflow}}.alfredworkflow

    Creates following {{workflow}} directory:

    {{workflow}}
    |-- ...
    |-- info.plist
    |-- ...
  • convert info.plist (in current directory) into yaml template (workflow.yml) and scripts and README:

    $ yamlfred to_yaml
  • convert yaml template (workflow.yml) into info.plist:

    $ yamlfred to_plist
  • create Alfred workflow ({{workflow}}.alfredworkflow`) from workflow.yml, scripts and README:

    $ yamlfred create {{workflow}}

Examples

These Alfred workflows uses yamlfred:

On can upload github release page via CI services, such as Circle CI with hub command and GITHUB_TOKEN consult circle.yml in these repositories for detailed information.

License

CC0 dedeicated to CC0_publicdomain, no rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yamlfred-0.3.3.tar.gz (9.7 kB view details)

Uploaded Source

File details

Details for the file yamlfred-0.3.3.tar.gz.

File metadata

  • Download URL: yamlfred-0.3.3.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yamlfred-0.3.3.tar.gz
Algorithm Hash digest
SHA256 e551d9cfada5d0587caaed08ff04864fddb095c8d1a89aea0abc52b746f87e5b
MD5 17918de276f6913d1c1321c2b9b0ce52
BLAKE2b-256 20ef5c0d5b8023241eb20b076234dae026e5bc89e2b028bbf577c0e1d41f1093

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page