Extract show_environment from EnvironmentCommand#execute