Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Geddy enable jake task #234

Open
Techwraith opened this Issue Oct 18, 2012 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

Techwraith commented Oct 18, 2012

What do you guys think of creating a geddy enable {{config option}} task -

It would help to be able to do these things:

$ geddy enable metrics

$ geddy enable realtime

$ geddy enable db --name=test_db
Contributor

MiguelMadero commented Oct 18, 2012

I was thinking of something similar, like rails generators. This is
specially handy for other modules that can integrate or extend geddy.

$ rails g cancan:ability
$ geddy enable cancan:ability

Do you think other modules could take advantage of this? Could the cli look
for tasks within the app modules, following a convention like
module_name:task?

Miguel

On Thu, Oct 18, 2012 at 5:47 AM, Daniel Erickson
notifications@github.comwrote:

What do you guys think of creating a geddy enable {{config option}} task -

It would help to be able to do these things:

$ geddy enable metrics

$ geddy enable realtime

$ geddy enable db --name=test_db


Reply to this email directly or view it on GitHubhttps://github.com/mde/geddy/issues/234.

Contributor

Techwraith commented Oct 18, 2012

That's kinda what I was hoping for :)

On Oct 18, 2012, at 9:22 AM, Miguel Madero notifications@github.com wrote:

I was thinking of something similar, like rails generators. This is
specially handy for other modules that can integrate or extend geddy.

$ rails g cancan:ability
$ geddy enable cancan:ability

Do you think other modules could take advantage of this? Could the cli look
for tasks within the app modules, following a convention like
module_name:task?

Miguel

On Thu, Oct 18, 2012 at 5:47 AM, Daniel Erickson
notifications@github.comwrote:

What do you guys think of creating a geddy enable {{config option}} task -

It would help to be able to do these things:

$ geddy enable metrics

$ geddy enable realtime

$ geddy enable db --name=test_db


Reply to this email directly or view it on GitHubhttps://github.com/mde/geddy/issues/234.


Reply to this email directly or view it on GitHub.

Contributor

MiguelMadero commented Oct 18, 2012

Nice :)

I'm thinking of porting cancan (if I can't find something similar) and it
could be a nice example for this.

I was also thinking that the --template could've been another way to do
this, but this one is currently limited to the existing generators. Maybe
instead of a template switch we should just use the same format we would
for extensions for other type of custom extensions.

$ geddy typescript:scaffold todo title:default

PS: I know I need better examples than todo apps and typescript :), I just
want to see who complains.

Miguel

On Thu, Oct 18, 2012 at 2:02 PM, Daniel Erickson
notifications@github.comwrote:

That's kinda what I was hoping for :)

On Oct 18, 2012, at 9:22 AM, Miguel Madero notifications@github.com
wrote:

I was thinking of something similar, like rails generators. This is
specially handy for other modules that can integrate or extend geddy.

$ rails g cancan:ability
$ geddy enable cancan:ability

Do you think other modules could take advantage of this? Could the cli
look
for tasks within the app modules, following a convention like
module_name:task?

Miguel

On Thu, Oct 18, 2012 at 5:47 AM, Daniel Erickson
notifications@github.comwrote:

What do you guys think of creating a geddy enable {{config option}}
task -

It would help to be able to do these things:

$ geddy enable metrics

$ geddy enable realtime

$ geddy enable db --name=test_db


Reply to this email directly or view it on GitHub<
https://github.com/mde/geddy/issues/234>.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com/mde/geddy/issues/234#issuecomment-9572234.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment