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.")
评论列表
文章目录