Files
obsidian_utils/todoObsidian/todo-to-obsidian.sh
T
fegger b0229b6332 Add todoObsidian tool for syncing TODOs to Obsidian
Scans codebases for TODO/FIXME/HACK/XXX comments and generates Markdown
notes in an Obsidian vault. Includes Zed editor integration that runs
on file save, plus a shell wrapper for CLI usage. Supports customizable
vault paths, project names, and output directories.
2026-05-26 14:38:26 +02:00

13 lines
346 B
Bash
Executable File

#!/bin/sh
# Wrapper script for importing TODOs into Obsidian.
# Adjust VAULT_PATH below or leave empty to rely on ~/.bashrc / env / auto-detection.
VAULT_PATH=""
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
if [ -n "$VAULT_PATH" ]; then
python3 "$SCRIPT_DIR/main.py" --vault "$VAULT_PATH" "$@"
else
python3 "$SCRIPT_DIR/main.py" "$@"
fi