@@ -514,6 +514,16 @@ describe.skipIf(frameworkToTest || isQuarantineMode())("help text", () => {
514514 npm create cloudflare my-project -- --template [email protected] :user/repo#1234abcd (commit) 515515 Note that subdirectories may also be used. For example:
516516 npm create cloudflare -- --template https://github.com/cloudflare/workers-sdk/templates/worker-r2
517+ --template-mode=<value>
518+ The mechanism to use when fetching the template.
519+ Can be either "git" or "tar". "tar" does not support fetching from private
520+ repositories. By default, degit will use "tar" if the template is hosted on GitHub, BitBucket, GitLab, or git.sr.ht.
521+ Otherwise, it will use "git".
522+ Allowed Values:
523+ git
524+ Use git to fetch the template. Supports private repositories.
525+ tar
526+ Use tar to fetch the template. Only supported on public repositories hosted on GitHub, BitBucket, GitLab, or git.sr.ht.
517527 --accept-defaults, --no-accept-defaults, -y
518528 Use all the default C3 options (each can also be overridden by specifying it)
519529 --auto-update, --no-auto-update
@@ -604,6 +614,16 @@ describe.skipIf(frameworkToTest || isQuarantineMode())("help text", () => {
604614 npm create cloudflare my-project -- --template [email protected] :user/repo#1234abcd (commit) 605615 Note that subdirectories may also be used. For example:
606616 npm create cloudflare -- --template https://github.com/cloudflare/workers-sdk/templates/worker-r2
617+ --template-mode=<value>
618+ The mechanism to use when fetching the template.
619+ Can be either "git" or "tar". "tar" does not support fetching from private
620+ repositories. By default, degit will use "tar" if the template is hosted on GitHub, BitBucket, GitLab, or git.sr.ht.
621+ Otherwise, it will use "git".
622+ Allowed Values:
623+ git
624+ Use git to fetch the template. Supports private repositories.
625+ tar
626+ Use tar to fetch the template. Only supported on public repositories hosted on GitHub, BitBucket, GitLab, or git.sr.ht.
607627 --accept-defaults, --no-accept-defaults, -y
608628 Use all the default C3 options (each can also be overridden by specifying it)
609629 --auto-update, --no-auto-update
0 commit comments