Jump to content
matthew_mcg

Yeoman generator to create python workflows

Recommended Posts

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:

 

411080615_ScreenShot2019-01-11at11_38_08PM.png.38f2b20a7cf13bf0866b6d83972f8ca8.png

 

then pick a name for your workflow:

 

129708115_ScreenShot2019-01-11at11_38_25PM.png.0dc192a7df6b6518182d007800fc3a0b.png

 

and voila!

 

1360437009_ScreenShot2019-01-11at11_38_36PM.png.abc2000efe9964b81f3295a2d0a1c99e.png

 

you have start of a successful Alfred workflow. 

 

390742098_ScreenShot2019-01-11at11_39_12PM.png.9f54f2f6b4aa108e7db811999fcd1a85.png

 

To see more, check out the project here.

 

Edited by matthew_mcg
fixin' grammer/tipo

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...