pypyr release v5.3.0 permalink

shortcuts permalink

Release Date: 2022-03-09T16:38:06Z

Create shortcuts to your pypyr run commands & their input args.

This is handy for creating short & sweet aliases for longer pipeline run commands.

So if you have a pipeline you normally run like this:

$ pypyr arb/my-pipeline arg1=1234 arg2="/path/to long/annoying path to type/x" arg3="arb'hello"

You can create a shortcut alias for this like so:

    pipeline: arb/my-pipeline
      arg1: 1234
      arg2: /path/to long/annoying path to type/x
      arg3: "arb'hello"
pipeline_name = "arb/my-pipeline"

arg1 = 1234
arg2 = "/path/to long/annoying path to type/x"
arg3 = "arb'hello"

And now for the same pipeline + inputs you can just run:

$ pypyr my-shortcut

You can create your shortcut definition in pyproject.toml or in the pypyr yaml config file.

You can make your shortcuts project specific, or for the entire user profile, or globally for your entire system.

For full details, see pypyr shortcuts in the docs.

change list permalink

Full Changelog:

how to upgrade permalink

If you want to upgrade (and you totally should!):

$ pip install --upgrade pypyr

source permalink

You can find pypyr release v5.3.0 on github, where you can click through to associated Issues, Pull Requests and Users.

Released by yaythomas.

last updated on .