Example #1
0
def _Setup () -> None:
	global ShowUpdatesListCommand, ShowURLCommand

	commandPrefix = This.Mod.Namespace.lower() + ".distribution"

	ShowURLCommand = Command.ConsoleCommand(_ShowURL, commandPrefix + ".show_url")
	ShowUpdatesListCommand = Command.ConsoleCommand(_ShowUpdatesList, commandPrefix + ".show_updates_list")
Example #2
0
def _Setup () -> None:
	global AboutModCommand, DocumentationCommand, VisitModPageCommand

	commandPrefix = This.Mod.Namespace.lower() + ".standard"  # type: str

	AboutModCommand = Command.ConsoleCommand(_AboutMod, commandPrefix + ".about_mod")
	DocumentationCommand = Command.ConsoleCommand(_Documentation, commandPrefix + ".documentation")
	VisitModPageCommand = Command.ConsoleCommand(_VisitModPage, commandPrefix + ".visit_mod_page")
Example #3
0
def _Setup() -> None:
    global SupportNeonOceanCommand, VisitNeonOceanSiteCommand

    commandPrefix = This.Mod.Namespace.lower() + ".global"  # type: str

    # noinspection SpellCheckingInspection
    SupportNeonOceanCommand = Command.ConsoleCommand(
        _SupportNeonOcean, commandPrefix + ".support_neonocean")
    # noinspection SpellCheckingInspection
    VisitNeonOceanSiteCommand = Command.ConsoleCommand(
        _VisitNeonOceanSite, commandPrefix + ".visit_neonocean_site")
Example #4
0
def _Setup() -> None:
    global PrintNamesCommand, ShowDialogCommand, ShowListCommand

    commandPrefix = This.Mod.Namespace.lower() + ".settings"

    PrintNamesCommand = Command.ConsoleCommand(_PrintNames,
                                               commandPrefix + ".print_names",
                                               showHelp=True)
    ShowDialogCommand = Command.ConsoleCommand(_ShowDialog,
                                               commandPrefix + ".show_dialog",
                                               showHelp=True,
                                               helpInput="{ setting name }")
    ShowListCommand = Command.ConsoleCommand(_ShowList,
                                             commandPrefix + ".show_list",
                                             showHelp=True)
Example #5
0
def _Setup() -> None:
    global ResetCommand

    commandPrefix = This.Mod.Namespace.lower()  # type: str

    ResetCommand = Command.ConsoleCommand(_ShowDialog,
                                          commandPrefix + ".reset")
Example #6
0
def _Setup() -> None:
    global ShowPrepareReportLocationDialogCommand

    commandPrefix = This.Mod.Namespace.lower() + ".reporting"  # type: str

    ShowPrepareReportLocationDialogCommand = Command.ConsoleCommand(
        _ShowPrepareReportLocationDialog,
        commandPrefix + ".show_prepare_report_location_dialog")
Example #7
0
def _Setup () -> None:
	global SelectSaveCommand

	commandPrefix = This.Mod.Namespace.lower()

	SelectSaveCommand = Command.ConsoleCommand(_ShowSelectSaveDialog, commandPrefix + ".debug.show_select_save_dialog")