You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CLI] Added http url handling to create template (#1346)
## Summary
Added arbitrary git repo url handling to `devbox create` by adding
`--repo` and `--subdir` flags. The behavior is as follows:
Either `--template` or `--repo` are required flags.
When `--template` is provided, we clone from devbox and use the mapping
(no change)
When `--repo` is provided we clone that repo and if `--subdir` is
provided, we copy over only the contents of the `subdir` otherwise, the
whole repo is copied over.
Update: marked the 2 new flags (`--repo` and `--subdir`) hidden.
## How was it tested?
See unit tests
0 commit comments