From 6e401f797e420500e6f4e2d752c0cd26857d7fbe Mon Sep 17 00:00:00 2001 From: mitchellhamilton Date: Mon, 12 Apr 2021 15:06:02 +1000 Subject: [PATCH] Update CLI help message to match documentation --- .changeset/long-cats-chew.md | 5 +++++ packages-next/keystone/src/scripts/cli.ts | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/long-cats-chew.md diff --git a/.changeset/long-cats-chew.md b/.changeset/long-cats-chew.md new file mode 100644 index 00000000000..5b23f46f6fa --- /dev/null +++ b/.changeset/long-cats-chew.md @@ -0,0 +1,5 @@ +--- +'@keystone-next/keystone': patch +--- + +Updated CLI help message to match documentation diff --git a/packages-next/keystone/src/scripts/cli.ts b/packages-next/keystone/src/scripts/cli.ts index 4a57efa03a9..26b9e784af6 100644 --- a/packages-next/keystone/src/scripts/cli.ts +++ b/packages-next/keystone/src/scripts/cli.ts @@ -14,11 +14,11 @@ export async function cli(cwd: string, argv: string[]) { Usage $ keystone-next [command] Commands - dev (default) start the project in development mode - start start the project in production mode + dev start the project in development mode (default) + postinstall generate client APIs and types (optional) build build the project (must be done before using start) - prisma run the prisma CLI - postinstall + start start the project in production mode + prisma run Prisma CLI commands safely `, { flags: {