Starting Lens from command line and using a defined cluster

Hi,

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?

Thanks!

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