-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
Versions of kyt, node, OS
kyt-cli: 0.28.4, node: v8.2.1, Linux
Bug or Feature?
Feature request: kyt-cli setup to be able to use a GitHub release as a starter-kyt, instead of using the default branch.
This could be implemented either by
- supporting git tags/branches with the -r flag, or
- supporting local .zip files with the --local-path flag
Current Behavior
kyt-cli -r git@...
clones the repo with its default branch with no option to specify the branch or tag.kyt-cli --local-path kyt.zip
copies the path recursively, with no special behavior if the path points to a zip file.
Desired Behavior
kyt-cli -r git@... -b 0.4.1
could call git clone -b 0.4.1 git@... and/or
kyt-cli --local-path kyt-starter-0.3.0.zip
could unzip kyt-starter-0.3.0.zip into the project folder, assuming that the starter-kyt is contained in a directory named kyt-starter-0.3.0
Alternatively, kyt-cli could support passing arbitrary arguments to git clone, e.g. by
kyt-cli -r git@... -- -b 0.4.1 --recurse-submodules
or kyt-cli -r git@... --git-extra-args "-b 0.4.1,--recurse-submodules"
Metadata
Metadata
Assignees
Labels
No labels