Hello my name is Ralf and I'm from good old germany.
I've written a dandelion ( git deployment ruby gem ) Workflow and would like to get some feedback, because I think I'm not doing it right :-)
Here is some code
dandelion deploy
# Load profile
cd ~/
. .bash_profile
# Load multiple parameters
read PROJECT REVISION <<< "{query}"
# Go to project folder
cd ~/Sites/$PROJECT
# run Dandelion
RESPONSE=$(dandelion deploy $REVISION)
# Notification
echo $RESPONSE
I'm loading the bash_profle because without it, it won't work as a "run script", as a terminal command it would run without it.
This is due the missing enviroment variables in the "run script" part.
The other commands are really basics.
Is there a better way to handle this enviroment stuff? As I run often in this situation with other workflows I've written.
Also I'm missing in Alfred something like a settings dialog for workflows.
Cheers Ralf
PS: Forgot to say, it works perfectly for me, but I still have the feeling that it could be better…