Hey Dominic,
Thanks for following up!
The lateness is actually appreciated as now is a better time (for me) to work on this issue. :-)
I like the direction you're taking with project-specific settings falling back to user account settings.
As far as naming goes, I'd prefer to indicate that these settings are associated with 'generators' rather than just 'sprouts'.
Maybe it could be something like:
[PROJECT]/.sprouts/generator_config.rb
For user home settings, I found that it's helpful to store this kind of information behind a versioned folder so that new versions of Sprouts can break compatibility without behaving in unexpected ways. I try hard not to change second-tier revisions unless something significant changed.
So I'd rather see a home dir solution that looks more like:
[USER_HOME]/.sprouts/[SPROUT_VERSION].[SPROUT_REVISION]/generator_config.rb
e.g. /Users/lbayes/.sprouts/1.1/generator_config.rb
As with Executable locations, we could also support environment vars - which I believe would supersede both of the previous options. Maybe somthing like:
SPROUT_GENERATOR_CONFIG=/path/to/your/config
This could be provided on the command line, exported from .bash_profile/.bashrc or set in the system registry if that's how you roll.
I'm open to other names too... Any ideas appreciated.
I considered:
* generators.rb: This seemed too general to me, I like your use of the 'config' term.
* gen_config.rb: This seemed too terse
Other ideas?
Thanks,
Luke