#NEWLINE# @ cli . command ( short_help = 'create model' ) #NEWLINE# @ click . argument ( 'path' ) #NEWLINE# def new( path ) : #NEWLINE# #INDENT# '\n    Create new model at the given PATH, based on the included example model.\n    The directory must not yet exist, and intermediate directories will\n    be created automatically.\n    ' #NEWLINE# example_model = os . path . join ( os . path . dirname ( __file__ ) , 'example_model' ) #NEWLINE# click . echo ( 'Creating new model in: {}' . format ( path ) ) #NEWLINE# shutil . copytree ( path , path )