#NEWLINE# def run_with_ns( self , ns ) : #NEWLINE# #INDENT# log = self . _setup_logging ( ns ) #NEWLINE# env = self . _setup_assets_env ( ns , log ) #NEWLINE# if ( env is None ) : #NEWLINE# #INDENT# raise CommandError ( 'Error: No environment given or found. Maybe use -m?' ) #NEWLINE# #UNINDENT# cmd = self . _setup_cmd_env ( env , log , ns ) #NEWLINE# args = self . _prepare_command_args ( ns ) #NEWLINE# return cmd . invoke ( ns . command , args )