Starting Lens from command line and using a defined cluster


I’m wondering if anyone can help or point me in the right direction, I am writing a Bash script that currently starts up Lens (if the correct option is selected). Is there a way from command line to start Lens and use a selected cluster?


You can use the “lens” cli tool to connect to a cluster, e.g. “lens clusters connect ”.