- Added Obsidian CLI support for automating publishing workflows from the terminal (requires Obsidian v1.12+).
- 12 CLI commands:
status,sync,publish,delete,mark,test,cache,config,upgrade,version,plugin, andquartz-config. obsidian quartz-syncer(no subcommand) shows a help screen with all available commands, flags, and examples.- All commands support
verbosefor detailed output (file paths, connection details, cache contents, commit SHAs). - All commands support
helpfor command-specific usage information. - All commands support
format=jsonfor machine-readable output. Commands that make changes supportdry-runfor previewing. - Publishing commands (
sync,publish) execute without confirmation. Destructive commands (delete,upgrade) requireforce. markcommand supports three path resolution modes: exact path, glob patterns (notes/**/*.md), and fuzzy search (~my post).configcommand enables reading and writing plugin settings from the terminal, with secret redaction for authentication tokens.configcommand defaults to listing all settings when no action is provided (obsidian quartz-syncer:config=obsidian quartz-syncer:config action=list).versioncommand shows plugin, Obsidian, and Quartz version information.plugincommand manages Quartz v5 plugins: list, add, remove, check for updates, apply updates, and browse the community registry.quartz-configcommand reads and writes Quartz v5 site configuration with schema validation.cachecommand provides cache management (status, clear single file, clear all).testcommand validates Git connection and write access.upgradecommand pulls upstream Quartz changes with automaticquartz.lock.jsonconflict resolution.- Fixed:
upgradecommand now correctly targets Quartz v5 upstream (was hardcoded to v4). - Graceful fallback on older Obsidian versions — CLI registration is silently skipped if
registerCliHandleris unavailable.
- 12 CLI commands:
- See the CLI guide for the full command reference and example workflows.
- Updated documentation.
What's Changed
- feat: Obsidian CLI integration by @saberzero1 in #117
Full Changelog: 1.12.0...1.13.0