What problem does it solve?
Guides developers and agents through Lark CLI application configuration and authentication to avoid failed operations caused by missing scopes, incorrect identity context, or unsafe handling of secrets.
Core Features & Use Cases
- Configuration Initialization: Walks through running configuration initialization when first using the CLI and extracting authorization links from the CLI output.
- Authentication & Identity Management: Explains user versus bot identities, how to perform auth login for users, when bot credentials suffice, and how to switch context using the --as flag.
- Permission Handling & Safety: Details how to interpret permission_violations and console_url responses, instructs how to request specific scopes, prohibits exposing secrets, and recommends dry-run and explicit confirmation for destructive operations.
Quick Start
Initiate configuration by running lark-cli config init --new in background and send the extracted authorization link to the user.