|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Making a TGCommand (CLI) available in core?Hi all, I've got a recipe up on my blog based on some advice on IRC: http://blog.vrplumber.com/index.php?/archives/2384-TurboGears-offline-processes-crons,-command-line-commands,-etc.html for setting up a TurboGears CLI command. It sets up tg.config, SQLAlchemy, and if lang is defined in the config, attempts to set up i18n (thanks to tmu). This *seems* like it is functionality that should be available by default from TurboGears. So, wondering if there's any interest in adding something similar to the core? There's enough black-magic stuff necessary that it really seems it shouldn't be something we're asking the (new) user to know how to do. Enjoy yourselves, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Making a TGCommand (CLI) available in core?On Mon, Oct 26, 2009 at 9:24 AM, Mike C. Fletcher <mcfletch@...> wrote: > > Hi all, > > I've got a recipe up on my blog based on some advice on IRC: > > > http://blog.vrplumber.com/index.php?/archives/2384-TurboGears-offline-processes-crons,-command-line-commands,-etc.html > > for setting up a TurboGears CLI command. It sets up tg.config, > SQLAlchemy, and if lang is defined in the config, attempts to set up > i18n (thanks to tmu). This *seems* like it is functionality that should > be available by default from TurboGears. So, wondering if there's any > interest in adding something similar to the core? There's enough > black-magic stuff necessary that it really seems it shouldn't be > something we're asking the (new) user to know how to do. > in bitbucket for it? > Enjoy yourselves, > Mike > > -- > ________________________________________________ > Mike C. Fletcher > Designer, VR Plumber, Coder > http://www.vrplumber.com > http://blog.vrplumber.com > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |