Jump to content

Search the Community

Showing results for tags 'valet'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 1 result

  1. First, I really apologise for how incompetent I am. Without Google, I'd never be able to do anything. But even with Google, I fail. Basic principles, var, query, just fly right over my head. Doesn't matter how much I concentrate, and how much I read, I just never seem to get it I'm trying to construct an Alfred workflow to do the following: I want to create a command consisting of three elements: 1. wp-clone 2. site1 3. site2 #1 is constant. #2 and #3 are variables. They are basically source-folder, destination-folder. The names would change in real use. I'm just using "site1" and "site2" here to illustrate. The final command, which I'd like to pass to iTerm.app, would look like this: wp-clone site1 site2 So what would be ideal is if I can: 1. Pull up the Alfred window (option-space) and start typing "Valet Clone". Press return and it auto-completes (like a keyword would) 2. On return a space inserts and I enter the first argument, where I input "site1" (without quotes: it's basically a directory name) 3. Return again and I get to insert another input, "site2" (again, without quotes: the second directory) 4. Return again and these two variables or arguments are put together and formed as the command: wp-clone site1 site2 It would be great, at that point, if I can run this in the background. Something like: export PATH=/usr/local/bin:$PATH cd /Users/Decline/SERVER/ && wp-clone {query1} {query2} (I would need PATH included as "wp-clone" is a command Alfred's command line wouldn't recognise.) However, I don't mind if the next stage is simply to open iTerm.app and paste the combined command there. The big problem I have is knowing how on earth to get those two variables (site1 and site1) into a single command, and in an elegant way in Alfred's GUI. I just can't wrap my head around it Attached is an attempt, which doesn't work at all, to hack something together in a workflow. Can someone point me in the right direction? Please, any input, imagine you're speaking to a small child, or a Golden Retriever. Many thanks in advance, ian My lame attempt (junk, doesn't work): Valet Clone Alfred Workflow
×
×
  • Create New...