In the latest CLI version 3.14.0, we have introduced the
lcp auth token command. This new addition allows users to retrieve the authentication token used by the CLI for API communication, streamlining the process for bash script implementations. It's worth noting that the authentication information, already present in the CLI config file (~/.lcp) and browser cookies post-login, remains consistent with this update. The command outputs the authentication token directly when executed.