Coding style.
- Comment tools.py's main.
This commit is contained in:
parent
90078f5d32
commit
895470b01b
1 changed files with 3 additions and 0 deletions
|
|
@ -785,6 +785,9 @@ def tool_name_colored(tool, path):
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Let tools be tested individually...
|
||||
# ./tools.py <tool> <path>
|
||||
# e.g. ./tools.py contents tools.toml
|
||||
tool_name, path = sys.argv[1:3]
|
||||
tool = locals()[tool_name]
|
||||
valid_tools = tools_for_path(path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue