Unifying command line syntax

It would be nice to see a convention on ways to specify environments
on the command line. Here are three to choose from:

script/server -e test
script/console test
rake db:migrate RAILS_ENV=test