bumpversion.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:gopythongo 作者: gopythongo 项目源码 文件源码
def add_args(self, parser: configargparse.ArgumentParser) -> None:
        gr_bv = parser.add_argument_group("Bumpversion Versioner options")
        gr_bv.add_argument("--use-bumpversion", dest="bumpversion_executable", default=None,
                           env_var="BUMPVERSION_EXECUTABLE",
                           help="Set the path to the bumpversion shellscript. Required if you want to use the "
                                "bumpversion Versioner. By default GoPythonGo will use the version it shipped with.")
        gr_bv.add_argument("--bumpversion-config", dest="bumpversion_config", default=None,
                           help="Set the path to a bumpversion config file to use.")
        gr_bv.add_argument("--bumpversion-part", dest="bumpversion_part", default=None,
                           help="Select the part of the version string that you want to bump.")
        gr_bv.add_argument("--bumpversion-file", dest="bumpversion_files", action="append", default=[],
                           help="List the files that bumpversion should modify.")
        gr_bv.add_argument("--bumpversion-opts", dest="bumpversion_opts", default="",
                           help="Additional arbitrary command-line options to pass to bumpversion.")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号