Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:23:29 +08:00
commit de569d33fc
8 changed files with 808 additions and 0 deletions

36
commands/auth.md Normal file
View 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.