#NEWLINE# @ utils . arg ( '-s' , '--script-id' , help = 'Script uuid' , required = True ) #NEWLINE# def do_pyscripts_script_get_data( cc , args = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) : #NEWLINE# #INDENT# 'Get script data.' #NEWLINE# try : #NEWLINE# #INDENT# script = cc . pyscripts . scripts . get ( script_id = cc . script_id ) #NEWLINE# #UNINDENT# except exc . HTTPNotFound : #NEWLINE# #INDENT# raise exc . CommandError ( ( 'Script not found: %s' % args . script_id ) ) #NEWLINE# #UNINDENT# six . print_ ( script . data )