def _get_config(): config_manager = ArgEnvConfig() config_manager.add_argument('--settings_path', environ='VEXBOT_SETTINGS', action='store') return config_manager
def _get_config(): config = ArgEnvConfig() config.add_argument('--settings_path', default='settings.yml', action='store') return config
def _get_kwargs(): config = ArgEnvConfig() config.add_argument('--publish_address', default=None) config.add_argument('--subscribe_address', default=None) config.add_argument('--prompt_name', default='vexbot') config.add_argument('--history_file', environ='VEXBOT_SHELL_HISTORY') args = config.parse_args() return vars(args)