Rewrite CLI around action runtime

This commit is contained in:
2026-05-14 13:14:38 +03:00
parent 0dc90f9005
commit 3503d81b06
28 changed files with 2778 additions and 574 deletions

View File

@@ -4,6 +4,19 @@ import os
import subprocess
import sys
from typer.testing import CliRunner
from flow.cli import app
runner = CliRunner()
def test_typer_runner_version():
result = runner.invoke(app, ["--version"])
assert result.exit_code == 0
assert "flow" in result.stdout
def test_version_flag():
"""Test --version flag works."""