Exemplo n.º 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")
Exemplo n.º 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")
Exemplo n.º 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")
Exemplo n.º 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)
Exemplo n.º 5
0
def _Setup() -> None:
    global ResetCommand

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

    ResetCommand = Command.ConsoleCommand(_ShowDialog,
                                          commandPrefix + ".reset")
Exemplo n.º 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")
Exemplo n.º 7
0
def _Setup () -> None:
	global SelectSaveCommand

	commandPrefix = This.Mod.Namespace.lower()

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