def METHOD_NAME(m: Maestral) -> None:
    runner = CliRunner()
    result = runner.invoke(main, ["filestatus", "/usr", "-c", m.config_name])
    assert result.exit_code == 0, result.output
    assert result.output == "unwatched\n"
    result = runner.invoke(main, ["filestatus", "/invalid-dir", "-c", m.config_name])
    # the exception will be already raised by click's argument check
    assert result.exit_code == 2
    assert isinstance(result.exception, SystemExit)
    assert "'/invalid-dir' does not exist" in result.output