feat(medusa-cli): added branch option (#7384)

This commit is contained in:
Shahed Nasser
2024-05-21 22:17:01 +03:00
committed by GitHub
parent c4fde7ea5c
commit 1f43290cec
3 changed files with 14 additions and 6 deletions

View File

@@ -118,6 +118,10 @@ function buildLocalCommands(cli, isLocalProject) {
type: `boolean`,
describe: `Install Medusa with the V2 feature flag enabled. WARNING: Medusa V2 is still in development and shouldn't be used in production.`,
default: false,
})
.option(`branch`, {
type: `string`,
describe: `The branch of the git repository to clone.`,
}),
desc: `Create a new Medusa project.`,
handler: handlerP(newStarter),