MyGit

v5.3.0

pypyr/pypyr

版本发布时间: 2022-03-10 00:38:06

pypyr/pypyr最新发布版本:v5.9.1(2023-09-22 11:13:53)

Summary

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:

shortcuts:
  my-shortcut:
    pipeline: arb/my-pipeline
    args:
      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.

What's Changed

Full Changelog: https://github.com/pypyr/pypyr/compare/v5.2.0...v5.3.0

相关地址:原始地址 下载(tar) 下载(zip)

查看:2022-03-10发行的版本