go-alfred
go-alfred copied to clipboard
Add ability to symlink current directory that is not named workflow
I want to use alfred
tool to modify this Safari Assistant workflow. I wanted to use alfred link
command for it however I can't do that since that workflow does not have a workflow
dir.
Can you add ability to symlink a certain directory by passing it in alfred link
?
For example in the above scenario I want to run alfred link .
and it will symlink the current directory. Or I can run alfred link workflow
that will essentially be what current alfred link
does. You can still leave alfred link
to do what it does now if no argument is passed in and document that so it isn't confusing.
Essentially I want to replace this script and it's -s
flag.
Thank you.
It would also be amazing to add the functions of this build script to the tool too. The reason is that not all workflows follow the workflow dir
convention and I would love to have a more powerful alfred
tool to cover those cases. Essentially eradicating the need for those two scripts.
So you can run alfred build .
in Safari Assistant and it will build the binary into current directory. Whereas alfred build
will build the binary into workflow dir
as it does it now.
Same thing for alfred pack
. It would be nice if that too worked in the case of Safari Assistant. So I can run something like alfred pack . -o ~/Desktop
and it will package Safari Assistant to ~/Desktop.
I would really appreciate this change and can help make it with a PR with some help perhaps.
Thank you.