def paster(opts):
environment = Environment.load('<STR_LIT:.>')<EOL>environment.require_data()<EOL>environment.start_supporting_containers()<EOL>if not opts['<STR_LIT>']:<EOL><INDENT>opts['<STR_LIT>'] = ['<STR_LIT>', '<STR_LIT>']<EOL><DEDENT>assert opts['<STR_LIT>'][<NUM_LIT:0>] == '<STR_LIT>'<EOL>return environment.interactive_shell(<EOL>opts['<STR_LIT>'][<NUM_LIT:1>:],<EOL>paster=True,<EOL>detach=opts['<STR_LIT>']<EOL>)<EOL>
Run a paster command from the current directory

Usage:
  datacats paster [-d] [-s NAME] [COMMAND...]

Options:
  -s --site=NAME   Specify a site to run this paster command on [default: primary]
  -d --detach       Run the resulting container in the background

You must be inside a datacats environment to run this. The paster command will
run within your current directory inside the environment. You don't need to
specify the --plugin option. The --config option also need not be specified.