nmattia/niv

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

Open

#317 opened on Apr 15, 2021

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Haskell (77 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (1,829 stars)
PR merge metrics
 (Avg merge 2d 21h) (1 merged PR in 30d)

Description

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.

Contributor guide