【发布时间】:2011-01-05 14:05:44
【问题描述】:
我想以某种方式要求用户说出他们的 flickr_id、flickr_apikey 和那些东西,但我很乐意在我的安装命令下这样做,这样它就不会因为 alle 而变得如此冗长而沉重论据。
有点像
$ thor PhotoonRails:install
We're about to install your system.. blaa, blaa, blaa...
We have to know you're Flick ID, get i here http://idgettr.com/
Flickr ID: {here you should type your id}
We also has to know you're flick api key, make one here ...
API Key: {here you should type your key}
等等?你明白这个想法吗?能做到吗?
【问题讨论】:
标签: ruby-on-rails ruby installation thor