time ./msfconsole --version
It took nearly 8 seconds to print version.
I think printing the version should be quick.
I believe ~8s is not fast enough just to print version.
I am using master branch, this commit b85cd9b
Ruby version: ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]
What OS are you running Metasploit on?
Windows 10, WSL Ubuntu 18.04.
Same reason as in #9723: Framework is being loaded first. Splitting off the code for msfconsole's help or version is a little more involved than it was for msfvenom. This is something for @adfoster-r7's team to address.
Most helpful comment
Same reason as in #9723: Framework is being loaded first. Splitting off the code for
msfconsole's help or version is a little more involved than it was formsfvenom. This is something for @adfoster-r7's team to address.