@task
def console(*args, **kwargs):
	""" Debugging Console """

	argv = list(args) + ['%s=%s' % (key, val) for key, val in kwargs.items()]
	if len(argv) > 1:
		raise CakeError('console() can receive 0 or 1 arguments')

	if argv:
		run('tools/console %s' % ' '.join(argv))
	else:
		debug('tools/console')
dataset/ETHPy150Open alexcepoi/pyscale/pyscale/tools/tasks.py/console/original