Skip to content

Commit

Permalink
Replace --project-directory with --fsl-directory (#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecooper authored Dec 18, 2024
1 parent c4d0a50 commit 10e8902
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/commands/local.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/commands/schema/schema.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion test/local.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 10e8902

Please sign in to comment.