CLI command
tinbox login
Sign in with browser approval, or save an explicit service token privately
Usage
sh
tinbox login --api-url <api-url> --send-url <send-url> --token <token> [--browser] [--no-open] --ttl <ttl>Flags
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--api-url | string | yes | — | api-worker base URL |
--send-url | string | yes | — | send-worker base URL (optional) |
--token | string | yes | — | configure an existing service token instead of account login |
--browser | boolean | no | — | request browser-approved account access (default without --token) |
--no-open | boolean | no | — | print the approval URL without opening a browser |
--ttl | string | yes | "1d" | account credential duration: 1h | 1d | 30d |