You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseclick.BadParameter("version must be in major.minor.build format. (1.0.0)")
43
42
44
-
@click.option('--license', default=None, type=click.Path(exists=True, dir_okay=False), help="Path to license file (rtf or txt with CRLF line endings).")
45
-
@click.option('--icon', default=None, type=click.Path(exists=True, dir_okay=False), help="Path to image to use as icon.")
46
-
47
-
@click.option('--clean/--no-clean', 'do_clean', default=True, help="Clean before building (default: true).")
@click.option('--build-dir', default="build", type=click.Path(file_okay=False), help="Path to build (temporary) directory.")
51
-
@click.option('--artifact-dir', default="artifacts", type=click.Path(file_okay=False), help="Path to installer output directory.")
52
-
@click.option('--src-dir', default="src", type=click.Path(file_okay=False, exists=True), help="Path to application files to create installer from.")
53
-
@click.option('--executable', '-e', multiple=True, default=["*.exe"], help="Path of executables to create startmenu shortcuts to. Relative to src-dir. Can be passed multiple times. (default: *.exe)")
54
-
@click.option('--postinstall', '-p', multiple=True, default=None, help="Commands to run post-install (at the end of installer)")
55
-
56
-
@click.option('--help-url', help="Help URL to display in 'Add/Remove Programs'. mailto: is allowed.")
57
-
@click.option('--update-url', help="Update URL to display in 'Add/Remove Programs'. mailto: is allowed.")
58
-
@click.option('--website-url', help="Website(about) URL to display in 'Add/Remove Programs'. mailto: is allowed.")
59
43
44
+
@cli.command()
45
+
@click.option(
46
+
"--version",
47
+
callback=validate_version,
48
+
default="0.0.0",
49
+
help="Version number of build (major.minor.build).",
0 commit comments