mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
e6496df595
feat: Add multiple projects support feat: enhanced read_note for when initial result is not found fix: merge frontmatter when updating note fix: handle directory removed on sync watch
15 lines
289 B
Python
15 lines
289 B
Python
"""Tests for CLI sync command."""
|
|
|
|
from typer.testing import CliRunner
|
|
|
|
from basic_memory.cli.app import app
|
|
|
|
# Set up CLI runner
|
|
runner = CliRunner()
|
|
|
|
|
|
def test_version_arg():
|
|
"""Test the version arg."""
|
|
result = runner.invoke(app, ["--version"])
|
|
assert result.exit_code == 0
|