Remove truffle (#1444)

* Remove truffle

* Remove repeated command of pro
pull/1447/head
Nikhil Parasaram 4 years ago committed by GitHub
parent fdb1479b4b
commit 191946f358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      mythril/interfaces/cli.py

@ -55,9 +55,7 @@ COMMAND_LIST = (
"hash-to-address",
"list-detectors",
"version",
"truffle",
"help",
"pro",
)
)
@ -265,7 +263,6 @@ def main() -> None:
create_func_to_hash_parser(contract_func_to_hash)
create_leveldb_parser(leveldb_search_parser)
subparsers.add_parser("truffle", parents=[analyzer_parser], add_help=False)
subparsers.add_parser("help", add_help=False)
# Get config values
@ -386,11 +383,6 @@ def create_analyzer_parser(analyzer_parser: ArgumentParser):
help="dumps the statespace json",
metavar="OUTPUT_FILE",
)
commands.add_argument(
"--truffle",
action="store_true",
help="analyze a truffle project (run from project dir)",
)
commands.add_argument("--infura-id", help="set infura id for onchain analysis")
options = analyzer_parser.add_argument_group("options")

Loading…
Cancel
Save