Storing User Entered Configuration Conventions?

4 views
Skip to first unread message

Sean Smith

unread,
May 7, 2015, 1:25:57 PM5/7/15
to capis...@googlegroups.com
Riffing off the User Inputs page (http://capistranorb.com/documentation/getting-started/user-input/), does anyone have a recommended workflow for persistently storing user entered configuration data? 

For example: I'm putting together a generic company-centric Capistrano plugin gem. Ideally I want to create a generator that stores project specific configuration (application name, database name, enabling ancillary plugins like capistrano-rails, etc.). Should I use something like Thor to manipulate the deploy.rb? Have my deploy.rb parse a YAML/JSON file? Are there any recommended conventions people are using to do configuration like that, or am I going about it all wrong?

Thanks!
Reply all
Reply to author
Forward
0 new messages