--- id: DEW-0024 title: Add CLI package smoke tests type: task created: 2026-04-25T19:53:00.484523Z milestones: - 1.0.0 labels: - 1.0 - tests --- packages/cli has no tests at all. Add packages/cli/test/cli_test.dart with: 1. Smoke test: CommandRunner instantiates without throwing 2. Help output: running with `--help` exits 0 and output contains 'kanban', 'init', 'mcp' 3. Version: running with `--version` exits 0 and output matches version in pubspec.yaml 4. Unknown command: running with an unknown subcommand exits non-zero Use dart:io Process.run to invoke `dart run packages/cli/bin/dew.dart` with appropriate args, or instantiate the runner directly if that's cleaner. Also add a `test` script to packages/cli/pubspec.yaml if not present.