

def default_configuration(interactive=True):
    if (config.length() == 1):
        config.set_default(index=1)
    elif interactive:
        info('Pick a default configuration from the list below')
        config.show()
        which = prompt('Set default configuration to: ')
        config.set_default(index=int(which))
        configuration = config.get_default()
        default_deployment(configuration['app_url'], configuration['client_id'], configuration['client_secret'])

dataset/ETHPy150Open jut-io/jut-python-tools/jut/commands/configs.py default_configuration/original