Skip to content

[Bug]: cli 不能识别 git@domain:repo.git 格式的资源 #317

@myysy

Description

@myysy

Bug Description

cli 执行如下命令

openviking add-resource 'git@xxx:xxx.git' --to "viking://resources/xxx" --wait --reason "yyyy"

报错

Error: Path 'git@xxx:xxx.git' does not exist.

It looks like you may have forgotten to quote a path with spaces.

Suggested command: ov add-resource "git@xxx:xxx.git --to viking://resources/xxx --wait --reason yyyy"

Steps to Reproduce

如上所述

Expected Behavior

希望能正确解析 git@xxx:xxx.git 资源

Actual Behavior

无法正确解析

Minimal Reproducible Example

Error Logs

OpenViking Version

0.1.18

Python Version

3.12

Operating System

Linux

Model Backend

None

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions