#NEWLINE# def main( args ) : #NEWLINE# #INDENT# git_uri = validate_args ( args ) #NEWLINE# client = _get_solum_client ( ) #NEWLINE# plan_file = get_planfile ( git_uri , args . app_name , args . command , args . public ) #NEWLINE# print ( '\n' ) #NEWLINE# print ( '************************* Starting setup *************************' ) #NEWLINE# print ( '\n' ) #NEWLINE# plan_uri = create_plan ( client , plan_file ) #NEWLINE# add_ssh_keys ( args ) #NEWLINE# try : #NEWLINE# #INDENT# os . remove ( plan_file ) #NEWLINE# #UNINDENT# except OSError : #NEWLINE# #INDENT# print ( ( 'Cannot remove %s. Skip and move forward...' % plan_file ) ) #NEWLINE# #UNINDENT# trigger_uri = create_assembly ( client , args . app_name , plan_uri ) #NEWLINE# create_webhook ( _filter_trigger_url ( trigger_uri ) ) #NEWLINE# print ( 'Successfully created Solum plan, assembly and webhooks!' )