refactor Pry::Command::ShowInfo to make codeclimate happier