Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Argv to workflow in run

#180

Static workflows are great, but they need a way to receive arguments. One option is to hack into the schema, only allow one file in run and then tack on the args:


  % tap run workflow.yml a b c

Another option is to implement a workflow task:


  % tap run -- workflow workflow.yml a b c

(wap?) Which then makes a pass-through workflow and enques the inputs to node 0, and completes to the result of node -1. The workflow task would be a baseclass for more complicated pass-through workflows. You could make a generator that takes a workflow.yml as an input and builds a stub workflow task!

Reported by bahuvrihi · March 2nd, 2009 @ 04:39 PM

State: invalid
Milestone: none
Assigned to: bahuvrihi bahuvrihi

Activity

  1. bahuvrihi
    bahuvrihi

    With the new schema setup... perhaps add something to parse:

    
      % tap run -spath --@0 one two three
    

    Where the @key adds to queue.

    May 3rd, 2009 @ 08:55 AM

  2. bahuvrihi
    bahuvrihi
    • Assigned user set to bahuvrihi
    • State changed from new to invalid

    There are better ways to do this, for example using load and a redirection.

    May 25th, 2009 @ 12:07 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.