Making a TGCommand (CLI) available in core?

View: New views
2 Messages — Rating Filter:   Alert me  

Making a TGCommand (CLI) available in core?

by Mike C. Fletcher-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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?

by Jorge Vargas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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.
>
I'll love to see that in the core. Could you open a ticket or a fork
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
-~----------~----~----~----~------~----~------~--~---