Jump to content

mperezi

Member
  • Posts

    7
  • Joined

  • Last visited

Posts posted by mperezi

  1. Clone git repo Workflow

     

    An Alfred workflow to clone git repos like a master 🐑🐑

     

    93094028-acf31200-f6a1-11ea-9a23-8379f45

     

    Usage

    1. Copy the repo URL to the clipboard.
    2. Open Alfred and start typing the keyword clone to trigger the workflow.
    3. Confirm the repo you're about to clone by pressing enter or press +enter to choose a different name.
    4. Browse your workspace and pick a destination folder. Start typing for filtering and then hit tab to drill into the selected folder or enter to clone into it.
    5. Wait until a notification pops up letting you know about the outcome of the operation. In case of success a terminal window will open inside the repo you just cloned.

    Feel free to give some feedback!

    Github: https://github.com/mperezi/alfred-git-clone

    Download: https://github.com/mperezi/alfred-git-clone/releases/latest

    Packalhttp://www.packal.org/workflow/clone-git-repo

     

  2. YAML Validator Workflow

     

    Alfred workflow to validate YAML documents

     

    77308822-d8510180-6cfb-11ea-8791-b9ea5d1

     

    Usage

    1. In Alfred, trigger the File Search by pressing space
    2. Enter the name of your .yml file
    3. Use  to reveal the File Actions panel
    4. Select the Validate option

    Feel free to give some feedback!

    Github: https://github.com/mperezi/alfred-validate-yaml

    Download: https://github.com/mperezi/alfred-validate-yaml/releases/latest

     

     

  3. Hi, 

     

    My question is simple. Alfred 4 has recently added the feature to colorize Large Type Output. You can change the foreground color and the background color among other settings. But can you apply different styles to different portions of the text? 

     

    For those of you who have played around with ansi escape sequences it would be something like this:

    echo -e "\033[31;1;4mHello\033[5mworld"

    The above line would yield the following result into the terminal:

     

    Hello world

     

    Can I get something similar?

  4. On 4/2/2019 at 8:18 AM, deanishe said:

    Packal is mostly dead, I’m afraid. It is unmaintained and the updater isn’t compatible with Alfred 3.

     

    Many workflows include their own automatic updaters, and will let you know when a new version is available.

     

    I'm curious. Can you point to any examples?

  5. I know this is an old thread but I'm facing this problem still in 2019.

     

    The thing goes like that:

    • I create a workflow with a File Action for YAML files.
    • I drag a .yml file into the box and it says "org.vim.yaml-file". 
    • The workflow runs fine.
    • Then I install these workflow on another computer.
    • It doesn't trigger.
    • Find out (mdls) that kMDItemContentType is "dyn.ah62d4uv4ge804550"

     

    The question is: do I have to instruct the users of my workflow to drag a .yml file after installing it? isn't there any way around this? (actually that's two questions)

×
×
  • Create New...