INNER CODE UNIT · Python
print_help
pairinteraction/pairinteraction · src/pairinteraction/cli.py:152
def print_help(parser: argparse.ArgumentParser) -> int:
"""Print help."""
parser.print_help()
return 0
def start_gui(*, reload: bool = False) -> int:
"""Launch the GUI."""
from pairinteraction_gui import main as gui_main
print("Launching the GUI...")
gui_main(enable_theme_hot_reload=reload)
return 0
def reset_gui_settings() -> int:
"""Delete the GUI settings file to restore default values."""
from pairinteraction._backend import get_cache_directory