mythx_cli package¶
Subpackages¶
mythx_cli.cli¶
Console script for mythx_cli.
-
mythx_cli.cli.
find_solidity_files
(project_dir)[source]¶ Return all Solidity files in the given directory
This will match all files with the .sol extension.
Parameters: project_dir – The directory to search in Returns: Solidity files in project_dir or None
-
mythx_cli.cli.
find_truffle_artifacts
(project_dir)[source]¶ Look for a Truffle build folder and return all relevant JSON artifacts.
This function will skip the Migrations.json file and return all other files under <project-dir>/build/contracts/. If no files were found, None is returned.
Parameters: project_dir – The base directory of the Truffle project Returns: Files under <project-dir>/build/contracts/ or None