 			'api':
 				'add': @addApi
 				'remove': @removeApi
+			'list': @list
 			'db':
 				'configure': @configure
-			'list':
-				'apis': @listApis
-				'config': @listConfig
-				'modules': @listModules
 			'module':
 				'add': @addModule
 				'remove': @removeModule

	###
	cli configure command handler
	###
	configure: =>
		name = @args[3]
		key = @args[4]
		App.find name, (error, app) =>
			if error then utils.throwError error
			else if app 
				@app = app

	@param [String] api api to add
	@example `marie dc-web add api user`
	###
	addApi: (arg, api) =>
		# console.log arg
		# console.log api 
		# console.log key 
		# console.log opt
		App.addApi arg, api, (err, app) =>
			if err then utils.throwError err
			else
				@app = app
