@@ -16,33 +16,33 @@ def init(parser: ArgumentParser) -> None:
16
16
parser (ArgumentParser): argparser where the cli flags are added
17
17
"""
18
18
19
- group_solc = parser .add_argument_group ("Compile options" )
19
+ group_compile = parser .add_argument_group ("Compile options" )
20
20
21
21
platforms = get_platforms ()
22
22
23
- group_solc .add_argument (
23
+ group_compile .add_argument (
24
24
"--compile-force-framework" ,
25
25
help = "Force the compile to a given framework "
26
26
f"({ ',' .join ([x .NAME .lower () for x in platforms ])} )" ,
27
27
action = "store" ,
28
28
default = DEFAULTS_FLAG_IN_CONFIG ["compile_force_framework" ],
29
29
)
30
30
31
- group_solc .add_argument (
31
+ group_compile .add_argument (
32
32
"--compile-remove-metadata" ,
33
33
help = "Remove the metadata from the bytecodes" ,
34
34
action = "store_true" ,
35
35
default = DEFAULTS_FLAG_IN_CONFIG ["compile_remove_metadata" ],
36
36
)
37
37
38
- group_solc .add_argument (
38
+ group_compile .add_argument (
39
39
"--compile-custom-build" ,
40
40
help = "Replace platform specific build command" ,
41
41
action = "store" ,
42
42
default = DEFAULTS_FLAG_IN_CONFIG ["compile_custom_build" ],
43
43
)
44
44
45
- group_solc .add_argument (
45
+ group_compile .add_argument (
46
46
"--ignore-compile" ,
47
47
help = "Do not run compile of any platform" ,
48
48
action = "store_true" ,
@@ -53,13 +53,15 @@ def init(parser: ArgumentParser) -> None:
53
53
_init_solc (parser )
54
54
_init_truffle (parser )
55
55
_init_embark (parser )
56
+ _init_brownie (parser )
56
57
_init_dapp (parser )
57
58
_init_etherlime (parser )
58
59
_init_etherscan (parser )
59
60
_init_waffle (parser )
60
61
_init_npx (parser )
61
62
_init_buidler (parser )
62
63
_init_hardhat (parser )
64
+ _init_foundry (parser )
63
65
64
66
65
67
def _init_solc (parser : ArgumentParser ) -> None :
@@ -230,8 +232,8 @@ def _init_brownie(parser: ArgumentParser) -> None:
230
232
Args:
231
233
parser (ArgumentParser): argparser where the cli flags are added
232
234
"""
233
- group_embark = parser .add_argument_group ("Brownie options" )
234
- group_embark .add_argument (
235
+ group_brownie = parser .add_argument_group ("Brownie options" )
236
+ group_brownie .add_argument (
235
237
"--brownie-ignore-compile" ,
236
238
help = "Do not run brownie compile" ,
237
239
action = "store_true" ,
@@ -431,7 +433,7 @@ def _init_hardhat(parser: ArgumentParser) -> None:
431
433
Args:
432
434
parser (ArgumentParser): argparser where the cli flags are added
433
435
"""
434
- group_hardhat = parser .add_argument_group ("hardhat options" )
436
+ group_hardhat = parser .add_argument_group ("Hardhat options" )
435
437
group_hardhat .add_argument (
436
438
"--hardhat-ignore-compile" ,
437
439
help = "Do not run hardhat compile" ,
@@ -463,16 +465,16 @@ def _init_foundry(parser: ArgumentParser) -> None:
463
465
Args:
464
466
parser (ArgumentParser): argparser where the cli flags are added
465
467
"""
466
- group_hardhat = parser .add_argument_group ("foundry options" )
467
- group_hardhat .add_argument (
468
+ group_foundry = parser .add_argument_group ("Foundry options" )
469
+ group_foundry .add_argument (
468
470
"--foundry-ignore-compile" ,
469
471
help = "Do not run foundry compile" ,
470
472
action = "store_true" ,
471
473
dest = "foundry_ignore_compile" ,
472
474
default = DEFAULTS_FLAG_IN_CONFIG ["foundry_ignore_compile" ],
473
475
)
474
476
475
- group_hardhat .add_argument (
477
+ group_foundry .add_argument (
476
478
"--foundry-out-directory" ,
477
479
help = "Use an alternative out directory (default: out)" ,
478
480
action = "store" ,
0 commit comments