将 create-react-app 与本地模板一起使用?

Use create-react-app with a local template?

我正在开发一个 cra 模板,但我似乎不知道如何在不将其发布到 npm 的情况下进行试用。在确定它可以正常工作之前,我不想发布它。我如何告诉 cra 使用本地模板?

答案原来是用

--template file:relative-path-to-template.

我省略了 'file:' 部分。

谢谢,克里斯蒂安!