Skip to content

Commit 7f86775

Browse files
update README
1 parent d006b80 commit 7f86775

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,21 @@ npm install -g testingbotctl
1212

1313
## Authentication
1414

15-
The CLI requires TestingBot API credentials. You can provide them in three ways:
15+
The CLI requires TestingBot API credentials. You can authenticate in several ways:
1616

17-
1. **Command-line options**: `--api-key` and `--api-secret`
18-
2. **Environment variables**: `TB_KEY` and `TB_SECRET`
19-
3. **Config file**: Create `~/.testingbot` with content `key:secret`
17+
### Browser Login (Recommended)
18+
19+
```sh
20+
testingbot login
21+
```
22+
23+
This opens your browser for authentication. After logging in, your credentials are saved to `~/.testingbot`.
24+
25+
### Other Methods
26+
27+
- **Command-line options**: `--api-key` and `--api-secret`
28+
- **Environment variables**: `TB_KEY` and `TB_SECRET`
29+
- **Config file**: Create `~/.testingbot` with content `key:secret`
2030

2131
## Commands
2232

0 commit comments

Comments
 (0)