From af66db11e3ed5dda01f2c0622436501ef7453ac5 Mon Sep 17 00:00:00 2001 From: "E. Cooper" Date: Wed, 18 Dec 2024 11:32:56 -0800 Subject: [PATCH] Replace --project-directory with --fsl-directory --- src/commands/local.mjs | 2 +- src/commands/schema/schema.mjs | 2 +- test/local.mjs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/local.mjs b/src/commands/local.mjs index 267c8096..24cec7ad 100644 --- a/src/commands/local.mjs +++ b/src/commands/local.mjs @@ -190,7 +190,7 @@ function buildLocalCommand(yargs) { description: "User-defined priority for the database. Valid only if --database is set.", }, - "project-directory": { + "fsl-directory": { type: "string", alias: ["dir", "directory"], description: diff --git a/src/commands/schema/schema.mjs b/src/commands/schema/schema.mjs index 74f8488d..f6b54351 100644 --- a/src/commands/schema/schema.mjs +++ b/src/commands/schema/schema.mjs @@ -9,7 +9,7 @@ import pushCommand from "./push.mjs"; import statusCommand from "./status.mjs"; export const localSchemaOptions = { - "project-directory": { + "fsl-directory": { alias: ["directory", "dir"], type: "string", description: diff --git a/test/local.mjs b/test/local.mjs index 32d7f562..6163eeca 100644 --- a/test/local.mjs +++ b/test/local.mjs @@ -163,7 +163,7 @@ Please pass a --host-port other than '8443'.", [ "--database Foo --dir ./bar ", "--database Foo --directory ./bar ", - "--database Foo --project-directory ./bar", + "--database Foo --fsl-directory ./bar", ].forEach((args) => { it("Creates a schema if requested", async () => { const baseUrl = "http://0.0.0.0:8443/schema/1";