5 from pyramid.paster
import bootstrap, setup_logging
12 command = Command(argv)
13 sys.exit(command.run())
19 parser = argparse.ArgumentParser()
20 parser.add_argument(
'config_uri', action=
'store', help=
'Configuration file to use')
27 self.
args = self.parser.parse_args(argv[1:])
28 setup_logging(self.args.config_uri)
31 except Exception
as e:
34 self.env.request.host = settings.host
38 if self.
env is not None:
42 raise NotImplementedError()