Files
medusa-store/packages/create-medusa-app/src/index.ts
T
Shahed Nasser 15e87a8100 feat(create-medusa-app): add stable option + add URI encoding to database string (#4567)
* feat(create-medusa-app): added stable option

* add new function

* changed open url

* switch condition

* fix open url for stable

* add URI encoding

* modified db error message
2023-07-24 13:33:14 +03:00

20 lines
553 B
JavaScript

#!/usr/bin/env node
import { program } from "commander"
import create from "./commands/create.js"
program
.description("Create a new Medusa project")
.option("--repo-url <url>", "URL of repository to use to setup project.")
.option("--seed", "Seed the created database with demo data.")
.option(
"--no-boilerplate",
"Install a Medusa project without the boilerplate and demo files."
)
.option(
"--stable",
"Install the latest stable version. This removes all onboarding features"
)
.parse()
void create(program.opts())