The problem being though that it can only refer to one cluster at a time. Thus you can easily stuff up when have multiple windows open against apps for different clusters or users and you forgot that you had changed which one you were logged in to. Yes, you can use --cluster=‘’ option (if that works how I think), but still have to remember to add it explicitly, where as if you could capture that in a configuration file in the repo itself and oc would look for it in some way you could be sure you were always working against correct cluster.
BTW, I can’t find any docs about —env-file in oc help strings for that command. Also just noticed that ‘oc options’ sends output to stderr and not stdout which is a bit strange. If using —help on a command still goes to stdout.