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
Copy file name to clipboardExpand all lines: codeql_bundle/cli.py
+43-5Lines changed: 43 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@
14
14
fromtypingimportList, Optional
15
15
importsys
16
16
importlogging
17
+
importos
17
18
18
19
logger=logging.getLogger(__name__)
19
20
@@ -40,6 +41,9 @@
40
41
type=click.Path(exists=True, path_type=Path),
41
42
default=Path.cwd(),
42
43
)
44
+
@click.option(
45
+
"--no-precompile", "-nc", is_flag=True, help="Do not pre-compile the bundle."
46
+
)
43
47
@click.option(
44
48
"-l",
45
49
"--log",
@@ -49,16 +53,35 @@
49
53
),
50
54
default="WARNING",
51
55
)
52
-
@click.option("-p", "--platform", multiple=True, type=click.Choice(["linux64", "osx64", "win64"], case_sensitive=False), help="Target platform for the bundle")
53
-
@click.option("-c", "--code-scanning-config", type=click.Path(exists=True, path_type=Path), help="Path to a Code Scanning configuration file that will be the default for the bundle")
f"The provided bundle supports the platform(s) {', '.join(map(str, bundle.platforms))}, but doesn't support the following platform(s): {', '.join(unsupported_platforms)}"
0 commit comments