Jump to content
riotbit

Ruby: example workflows written with Alfredo library

Recommended Posts

Hi,

 

I want to write a little Workflow with Ruby. But i have a little bit trouble to do so. I use the Alfredo Library. Unfortunately until now i was not able to find some example workflows codes with the Alfredo library. Do somebody know such workflows?

Share this post


Link to post

Why are you using that library? It would be more helpful if you described what you’re trying to accomplish (maybe you won’t need the library at all), or why you feel the need to use it.

Share this post


Link to post

Hi,

 

I want to write a little Workflow with Ruby. But i have a little bit trouble to do so. I use the Alfredo Library. Unfortunately until now i was not able to find some example workflows codes with the Alfredo library. Do somebody know such workflows?

 

 

Why are you using that library? It would be more helpful if you described what you’re trying to accomplish (maybe you won’t need the library at all), or why you feel the need to use it.

 

Vitor: I don't believe that the answer is for him to just not use Alfredo. Alfredo is just a basic library for generating the xml output needed for script filter workflows. I'm assuming he knows Ruby and is just looking for usage examples for Alfredo.

 

Riotbit: Alfredo was developed by Dennis Paagman. You can find his Github repo here that has a basic example of what to do with it. 

Share this post


Link to post

Vitor: I don't believe that the answer is for him to just not use Alfredo. Alfredo is just a basic library for generating the xml output needed for script filter workflows. I'm assuming he knows Ruby and is just looking for usage examples for Alfredo.

 

I never claimed not using the library would be the solution, what I did question was if it was needed at all. He (she?) is trying to build a workflow (stated on the post), and looking for alfredo examples to do that, but it’s never said why that library was chosen — is it because it is already known that it can solve the problem, or is it irrelevant if it’s used or not, as long as the workflow works? It seems like a typical XY problem, maybe there’s an easier and more straightforward way of accomplishing the desired goal.

It wouldn’t be the first time (not the last, either) that someone tries to use a library without understanding the ramifications. Bash Workflow Handler is also great to use, but if you only need to show a few results, its simplicity is trumped by its slowness. I’m trying to better understand the problem, so as to give a more relevant answer.

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...