You can use the CLI without an interactive login by using a service account.
To set up a service account used by the CLI to perform a browserless login:
Using the console:
If you wish, the CLI can be used instead of using the console.
copycpln profile update PROFILE_NAME --token SERVICE_ACCOUNT_KEY_FROM_STEP_1
copycpln profile set-default PROFILE_NAME
Once the profile is set as the default, subsequent CLI commands will run as the service account with its permissions.
If it is still not working, ensure that the default profile is set to PROFILE_NAME.