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

Function _register_node_arguments

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

Source from the content-addressed store, hash-verified

769 tentacles_parser.set_defaults(func=commands.call_tentacles_manager)
770
771def _register_node_arguments(parser):
772 parser.add_argument(
773 '--host',
774 help='Host to bind the server to.',
775 type=str,
776 default=None
777 )
778 parser.add_argument(
779 '--port',
780 help='Port to bind the server to (default: 8000).',
781 type=int,
782 default=None
783 )
784 parser.add_argument(
785 '--master',
786 help='Enable master node mode (schedules and executes tasks, UI enabled by default).',
787 action='store_true'
788 )
789 parser.add_argument(
790 '--consumer_only',
791 help='Start OctoBot Node in consumer only mode, in case the master node is not enough (requires a postgres database).',
792 type=bool,
793 default=False
794 )
795
796
797def start_background_octobot_with_args(

Callers 1

octobot_parserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected