matthew_mcg Posted January 12, 2019 Posted January 12, 2019 (edited) I know! Not technically a workflow but I thought I'd come here to show it off anyway. One of the frustrating things about any development project is the initial setup. That's where Yeoman comes in. It is a code scaffolding tool most regularly used to make java/frontend applications, but it is conveniently easy enough to make anything... like the basic structure of an Alfred workflow. I have not personally written a workflow in python, but I thought this could be useful to a lot more people than my crystal Alfred library (weird_al shameless plug!). So without further ado, here is my generator-alfred-python. Just make a blank workflow and go to it in the terminal. Run: then pick a name for your workflow: and voila! you have start of a successful Alfred workflow. To see more, check out the project here. Edited January 12, 2019 by matthew_mcg fixin' grammer/tipo
deanishe Posted January 16, 2019 Posted January 16, 2019 Handy. You should probably change it to use the Workflow3 class, not Workflow. Workflow is for Alfred 2 and doesn't support Alfred 3's new features. matthew_mcg and xilopaint 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now