Skip to content

List available pipelines #258

Answered by yaythomas
ajkerrigan asked this question in Q&A
Feb 2, 2022 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

hi @ajkerrigan, great seeing you here!

The short answer is, not really. The longer answer is, it depends.

Without being too much of a comedian, but $ ls mypipelib/*.yaml or $ find ./pipelines/*.yaml -printf "%f\n" is the way I personally do it, but I'm sure you got there yourself already!

The longer reason is:

  1. since a pipeline is just a normal, parse-able yaml file with a .yaml extension, per the yaml.org spec, there is actually no ready way of differentiating some-input-config-data.yaml from pipeline-that-works-with-input-config-data.yaml.
  2. pipelines can be anywhere. you can have, say,
  • $ pypyr mydir/mypipe (relative to current dir)
  • $ pypyr anotherdir/anotherpipe (another dir relative t…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@blaisep
Comment options

@yaythomas
Comment options

@yaythomas
Comment options

Answer selected by ajkerrigan
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants