# -*- coding: utf-8 -*-
from gearbox.command import Command
from tg import config
class CrawlCommand(Command):
def take_action(self, parsed_args):
print(config.get('sqlalchemy.url'))> gearbox crawl
None> gearbox tgshell
>>> from tg import config
>>> config.get('sqlalchemy.url')
'postgresql://pyjobs:pyjobs@localhost/pyjobs'gearbox.command.Command ?
Thanks,
Bastien.
--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+...@googlegroups.com.
To post to this group, send email to turbo...@googlegroups.com.
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "TurboGears" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/turbogears/sQc_YvfOocU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to turbogears+...@googlegroups.com.