MCPcopy Create free account
hub / github.com/Drakkar-Software/OctoBot / _register_node_arguments

Function _register_node_arguments

octobot/cli.py:736–759  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

734 tentacles_parser.set_defaults(func=commands.call_tentacles_manager)
735
736def _register_node_arguments(parser):
737 parser.add_argument(
738 '--host',
739 help='Host to bind the server to.',
740 type=str,
741 default=None
742 )
743 parser.add_argument(
744 '--port',
745 help='Port to bind the server to (default: 8000).',
746 type=int,
747 default=None
748 )
749 parser.add_argument(
750 '--master',
751 help='Enable master node mode (schedules and executes tasks, UI enabled by default).',
752 action='store_true'
753 )
754 parser.add_argument(
755 '--consumer_only',
756 help='Start OctoBot Node in consumer only mode, in case the master node is not enough (requires a postgres database).',
757 type=bool,
758 default=False
759 )
760
761
762def start_background_octobot_with_args(

Callers 1

octobot_parserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected