Initial commit
This commit is contained in:
31
commands/auth-check.md
Normal file
31
commands/auth-check.md
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
description: Verify OAuth credentials and API access
|
||||
argument-hint:
|
||||
---
|
||||
|
||||
Verify Google OAuth credentials and API access.
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
google-gmail-tool auth check [-v|-vv|-vvv]
|
||||
```
|
||||
|
||||
## Environment Variables
|
||||
|
||||
- `GOOGLE_GMAIL_TOOL_CREDENTIALS_JSON`: Full OAuth2 credentials as JSON
|
||||
- `GOOGLE_GMAIL_TOOL_CREDENTIALS`: Path to credentials JSON file
|
||||
|
||||
## Examples
|
||||
|
||||
```bash
|
||||
# Check authentication status
|
||||
google-gmail-tool auth check
|
||||
|
||||
# Check with verbose output
|
||||
google-gmail-tool auth check -vv
|
||||
```
|
||||
|
||||
## Output
|
||||
|
||||
Returns status for Gmail, Calendar, Tasks, and Drive API access.
|
||||
Reference in New Issue
Block a user