Feature duplication in command_line and configuration

attempt to close #1290
It's needed because the file is not being run with the rspec runner.