nmattia/niv

autodetect obvious URLs (`niv add https://github.com/user/repo.git`)

Open

#317 创建于 2021年4月15日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)Haskell (77 fork)batch import
enhancementgood first issue

仓库指标

Star
 (1,829 star)
PR 合并指标
 (平均合并 2天 21小时) (30 天内合并 1 个 PR)

描述

It would be convenient if niv add could take automatically recognize some defined url so I could just paste the repo path instead of writing github -u user -r repo -n repo.

Maybe there could be a config file that contains regexes with captures or something, though personally I'm fine with just predefined things for gitlab and github, which would probably cover 99% of cases.

贡献者指南