mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
feat(tt_tool): add --print-top-module argument
This commit is contained in:
@@ -57,6 +57,12 @@ if __name__ == "__main__":
|
||||
action="store_const",
|
||||
const=True,
|
||||
)
|
||||
parser.add_argument(
|
||||
"--print-top-module",
|
||||
help="prints the name of the top module",
|
||||
action="store_const",
|
||||
const=True,
|
||||
)
|
||||
|
||||
# documentation
|
||||
parser.add_argument(
|
||||
@@ -134,6 +140,9 @@ if __name__ == "__main__":
|
||||
if args.print_wokwi_id:
|
||||
project.print_wokwi_id()
|
||||
|
||||
if args.print_top_module:
|
||||
project.print_top_module()
|
||||
|
||||
if args.create_user_config:
|
||||
project.create_user_config()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user