Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

fix: resolve -o option conflict between global output and filesystem output-format (#240)

Sense_wange678fc724b70
diff --git a/openviking_cli/cli/commands/filesystem.py b/openviking_cli/cli/commands/filesystem.py
index 27c7c44a4..651f7298d 100644
--- a/openviking_cli/cli/commands/filesystem.py
+++ b/openviking_cli/cli/commands/filesystem.py
@@ -22,7 +22,7 @@ def register(app: typer.Typer) -> None:
help="List all subdirectories recursively",
),
output_format: str = typer.Option(
- "agent", "--output-format", "-o", help="Output format: agent or original"
+ "agent", "--output-format", "-f", help="Output format: agent or original"
),
abs_limit: int = typer.Option(256, "--abs-limit", "-l", help="Abstract content limit"),
show_all_hidden: bool = typer.Option(False, "--all", "-a", help="Show all hidden files"),
@@ -49,7 +49,7 @@ def register(app: typer.Typer) -> None:
ctx: typer.Context,
uri: str = typer.Argument(..., help="Viking URI"),
output_format: str = typer.Option(
- "agent", "--output-format", "-o", help="Output format: agent or original"
+ "agent", "--output-format", "-f", help="Output format: agent or original"
),
abs_limit: int = typer.Option(128, "--abs-limit", "-l", help="Abstract content limit"),
show_all_hidden: bool = typer.Option(False, "--all", "-a", help="Show all hidden files"),