in modular_cli/service/help_client.py [0:0]
def execute_command(self):
from modular_cli.service.decorators import CommandResponse
configure_args = {
'--api_path': (True, str),
'--username': (True, str),
'--password': (True, str)
}
_force_help = True
for param_name, is_required in configure_args.items():
if param_name in self.config_params:
_force_help = False
if _force_help:
self.define_description()
api_path, username, password = self.validate_params(
configure_args=configure_args)
response = save_configuration(api_link=api_path,
username=username,
password=password)
return CommandResponse(message=response)