schrodinger.application.licensing.licserver.main module¶
This module implements the licadmin CLI for licserver.
- schrodinger.application.licensing.licserver.main.format_description(description: str) str ¶
Helper for argparse descriptions.
Removes consistent leading whitespace via textwrap.dedent; replaces with two spaces.
- schrodinger.application.licensing.licserver.main.get_parser() argparse.ArgumentParser ¶
Returns an argument parser for licadmin functionality.
- Parameters
argv – command-line arguments to parse, excluding the program name
- schrodinger.application.licensing.licserver.main.get_default_licserver_user() str ¶
Returns the default user to run the license server as.
- schrodinger.application.licensing.licserver.main.get_usable_port(starting_port) int ¶
Returns the first available port from the starting port.
- schrodinger.application.licensing.licserver.main.handle_quick_slm_setup(opt: argparse.Namespace) int ¶
- schrodinger.application.licensing.licserver.main.handle_install(opt: argparse.Namespace) int ¶
Handles the ‘install’ subcommand.
- schrodinger.application.licensing.licserver.main.handle_machineid(opt: argparse.Namespace) int ¶
- schrodinger.application.licensing.licserver.main.handle_info_action(opt: argparse.Namespace) int ¶
Create an archive of information for troubleshooting license issues.
- schrodinger.application.licensing.licserver.main.handle_debug_sources(opt: argparse.Namespace) int ¶
Print the sources of license information.
- schrodinger.application.licensing.licserver.main.main(argv: list[str]) int ¶