def shell(environment, opts):
environment.require_data()<EOL>environment.start_supporting_containers()<EOL>return environment.interactive_shell(<EOL>opts['<STR_LIT>'],<EOL>detach=opts['<STR_LIT>']<EOL>)<EOL>
Run a command or interactive shell within this environment

Usage:
  datacats [-d] [-s NAME] shell [ENVIRONMENT [COMMAND...]]

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

ENVIRONMENT may be an environment name or a path to an environment directory.
Default: '.'