Un-stub theme command, bump version to v1.5.0

This commit is contained in:
Campbell 2024-11-16 15:56:09 -05:00
parent 76c78e6d85
commit 8a050ff8f6
Signed by: NinjaCheetah
GPG Key ID: B547958AF96ED344

View File

@ -5,7 +5,7 @@ import argparse
from importlib.metadata import version
from commands.archive.ash import *
#from commands.archive.theme import *
from commands.archive.theme import *
from commands.archive.u8 import *
from commands.nand.emunand import *
from commands.nand.setting import *
@ -17,7 +17,7 @@ from commands.title.nus import *
from commands.title.tmd import *
from commands.title.wad import *
wiipy_ver = "1.4.0"
wiipy_ver = "1.5.0"
if __name__ == "__main__":
# Main argument parser.
@ -197,19 +197,19 @@ if __name__ == "__main__":
setting_gen_parser.add_argument("region", metavar="REGION", type=str,
help="region of the console these settings are for (USA, EUR, JPN, or KOR)")
# # Argument parser for the theme subcommand.
# theme_parser = subparsers.add_parser("theme", help="apply custom themes to the Wii Menu",
# description="apply custom themes to the Wii Menu")
# theme_subparsers = theme_parser.add_subparsers(dest="subcommand", required=True)
# # MYM theme subcommand.
# theme_mym_parser = theme_subparsers.add_parser("mym", help="apply an MYM theme to the Wii Menu",
# description="apply an MYM theme to the Wii Menu")
# theme_mym_parser.set_defaults(func=handle_apply_mym)
# theme_mym_parser.add_argument("mym", metavar="MYM", type=str, help="MYM theme to apply")
# theme_mym_parser.add_argument("base", metavar="BASE", type=str,
# help="base Wii Menu assets to apply the theme to (000000xx.app)")
# theme_mym_parser.add_argument("output", metavar="OUT", type=str,
# help="path to output the finished theme to (<filename>.csm)")
# Argument parser for the theme subcommand.
theme_parser = subparsers.add_parser("theme", help="apply custom themes to the Wii Menu",
description="apply custom themes to the Wii Menu")
theme_subparsers = theme_parser.add_subparsers(dest="subcommand", required=True)
# MYM theme subcommand.
theme_mym_parser = theme_subparsers.add_parser("mym", help="apply an MYM theme to the Wii Menu",
description="apply an MYM theme to the Wii Menu")
theme_mym_parser.set_defaults(func=handle_apply_mym)
theme_mym_parser.add_argument("mym", metavar="MYM", type=str, help="MYM theme to apply")
theme_mym_parser.add_argument("base", metavar="BASE", type=str,
help="base Wii Menu assets to apply the theme to (000000xx.app)")
theme_mym_parser.add_argument("output", metavar="OUT", type=str,
help="path to output the finished theme to (<filename>.csm)")
# Argument parser for the TMD subcommand.
tmd_parser = subparsers.add_parser("tmd", help="edit a TMD file",