Currently --authentication-method supports ActiveDirectoryInteractive which uses azidentity.InteractiveBrowserCredential. This limits usage to windowed environments with a web browser.
Consider supporting a new authentication method ActiveDirectoryDeviceCode which would use azidentity.DeviceCodeCredential.