From f8a0f081351bdeaf02b90d04c205b64ddb6b1fde Mon Sep 17 00:00:00 2001 From: Masaharu TASHIRO Date: Wed, 23 Oct 2024 14:21:05 +0900 Subject: [PATCH] refactor: remove duplicated guest-space-id option --- src/cli/record/delete.ts | 7 ------- src/cli/record/export.ts | 7 ------- 2 files changed, 14 deletions(-) diff --git a/src/cli/record/delete.ts b/src/cli/record/delete.ts index ca483a4fd8..d448f57a5c 100644 --- a/src/cli/record/delete.ts +++ b/src/cli/record/delete.ts @@ -27,13 +27,6 @@ const builder = (args: yargs.Argv) => demandOption: true, requiresArg: true, }) - .option("guest-space-id", { - describe: "The ID of guest space", - default: process.env.KINTONE_GUEST_SPACE_ID, - defaultDescription: "KINTONE_GUEST_SPACE_ID", - type: "string", - requiresArg: true, - }) .option(FORCE_DELETE_KEY, { alias: FORCE_DELETE_ALIAS, describe: "Force to delete records", diff --git a/src/cli/record/export.ts b/src/cli/record/export.ts index 0ffc372c7e..b0942e6f9f 100644 --- a/src/cli/record/export.ts +++ b/src/cli/record/export.ts @@ -19,13 +19,6 @@ const builder = (args: yargs.Argv) => demandOption: true, requiresArg: true, }) - .option("guest-space-id", { - describe: "The ID of guest space", - default: process.env.KINTONE_GUEST_SPACE_ID, - defaultDescription: "KINTONE_GUEST_SPACE_ID", - type: "string", - requiresArg: true, - }) .option("attachments-dir", { describe: "Attachment file directory", type: "string",