Rich-Harris/degit

Interactive mode

Rich-Harris opened this issue · 1 comments

Would be cool if running degit without arguments took you to an interactive mode where you could see which repos were available locally, and which refs thereof. And maybe let you select from that list by typing with fuzzy matching etc.

zel has a great feature of repo dependencies (other repos). This could be implemented as well in degit, and then, you could choose in interactive mode which dependencies you want (if they are optional).

(Far fetched) Examples: one could degit a repo with all frontend/backend stuff, and then choose if he wants bootstrap or materialize, or if he wants folder structure A or B, or Vue vs svelte (which would be other parcial repos, who would be degit-ed without specifying sub-folder, making it composable scaffolding).

Problem: competing files of same name. (each dependency will have at least a portion of package.json, which should merge with main repo one)