I think there is some confusion here.
To start, my filter method (and Marie Drake's) works with the Cypress Module API. In fact, I have updated my article to reflect usage of the API. You should check it out.
The env.tags object is native to this tutorial. The 'tags' key is an environment variable used within my tutorial to add filtering to Cypress tests. Marie Drake uses 'TEST_TAGS' for hers. No matter what you call it, it's still an environment variable. Therefore, you can set it using the env object within the Cypress run parameters.
The tags that you seem to be referring to are `--tags` native to Cypress dashboard. These are wholly different from `--env tags=ui` as they are not environment variables. All they do is add a label to the test run.
I want to help you but you're coming off as awfully rude. I'd suggest you re-read my article as it pertains to filtering tests using an environment variable and filter function, not sifting through tests in Cypress dashboard.
Good luck in your endeavors.