Initial commit
This commit is contained in:
36
commands/auth.md
Normal file
36
commands/auth.md
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
description: Validate Obsidian API authentication
|
||||
---
|
||||
|
||||
Verify that the API key is valid and authentication is working.
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
obsidian-search-tool auth [--json|--text] [-v|-vv|-vvv]
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
- `--json`: JSON output (default)
|
||||
- `--text` / `-t`: Markdown text output
|
||||
- `-v`: INFO level logging
|
||||
- `-vv`: DEBUG level logging
|
||||
- `-vvv`: TRACE level with library internals
|
||||
|
||||
## Examples
|
||||
|
||||
```bash
|
||||
# Basic auth check
|
||||
obsidian-search-tool auth
|
||||
|
||||
# With text output
|
||||
obsidian-search-tool auth --text
|
||||
|
||||
# With debug logging
|
||||
obsidian-search-tool auth -vv
|
||||
```
|
||||
|
||||
## Output
|
||||
|
||||
Returns authentication status, API URL, timestamp, and message.
|
||||
Reference in New Issue
Block a user