rapid7/metasploit-framework — pull request #3641 by limhoff-r7 (2014-08-12 16:01:21+00:00)
Title: Run resource script files passed to -r/--resource option of msfconsole

[MSP-11046](https://jira.tor.rapid7.com/browse/MSP-11046)

# Verification Steps
- [ ] `bundle install`
- [ ] Create a resource script `echo "version\nexit" > /tmp/metasploit-test.rc`
- [ ] Run the resource script: `./msfconsole --environment development -r /tmp/metasploit-test.rc`
- [ ] VERIFY `version` and `exit` are run:
```msfconsole`
resource (/tmp/metasploit-test.rc)> version
Framework: 4.10.0-dev
Console : 4.10.0-dev.15168
resource (/tmp/metasploit-test.rc)> exit
```