Skip to content
8 changes: 8 additions & 0 deletions cfbs/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class ArgsTypesNamespace(argparse.Namespace):
git_user_email = None # type: Optional[str]
git_commit_message = None # type: Optional[str]
ignore_versions_json = False # type: bool
diffs = None # type: Optional[str]
omit_download = False # type: bool
check_against_git = False # type: bool
minimum_version = None # type: Optional[str]
Expand Down Expand Up @@ -161,6 +162,13 @@ def get_arg_parser(whitespace_for_manual=False):
help="Ignore versions.json. Necessary in case of a custom index or testing changes to the default index.",
action="store_true",
)
parser.add_argument(
"--diffs",
help="Write diffs of files overwritten with a copy build step during 'cfbs build' to the specified file",
nargs="?",
const="diffs.txt",
default=None,
)
parser.add_argument(
"--omit-download",
help="Use existing masterfiles instead of downloading in 'cfbs generate-release-information'",
Expand Down
Loading