13 lines
346 B
Bash
Executable File
13 lines
346 B
Bash
Executable File
#!/bin/sh
|
|
# Wrapper script for importing files 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
|