From 15f1147726397dd09aa6dcd2a08fc5cea7de8c9f Mon Sep 17 00:00:00 2001 From: Ross Stenersen Date: Fri, 5 Jan 2024 11:24:50 -0600 Subject: [PATCH] docs: update help text for "accept limit" for schema app creation --- .changeset/cool-foxes-live.md | 5 +++++ packages/cli/src/commands/invites/schema/create.ts | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 .changeset/cool-foxes-live.md diff --git a/.changeset/cool-foxes-live.md b/.changeset/cool-foxes-live.md new file mode 100644 index 000000000..0584ca5b1 --- /dev/null +++ b/.changeset/cool-foxes-live.md @@ -0,0 +1,5 @@ +--- +"@smartthings/cli": patch +--- + +Updated help text for "accept limit" for schema invitation creation. diff --git a/packages/cli/src/commands/invites/schema/create.ts b/packages/cli/src/commands/invites/schema/create.ts index 85a87c4eb..cb27f2258 100644 --- a/packages/cli/src/commands/invites/schema/create.ts +++ b/packages/cli/src/commands/invites/schema/create.ts @@ -75,11 +75,12 @@ export default class InvitesSchemaCreateCommand extends APICommand('Schema App Invitation', { schemaAppId: schemaAppIdDef, description: optionalStringDef('Description'), - acceptLimit: optionalIntegerDef('Accept Limit', - { - helpText: 'Enter the maximum number of users you want to be able to accept the invitation.\n' + - 'Leave blank for no maximum.', - }), + acceptLimit: optionalIntegerDef('Accept (Install) Limit', { + helpText: + 'Invitations are limited to a maximum of 500 installations (called "accept"s by the API) by default and are only valid for 30 days.\n' + + 'Once either the install limit or the time limit is reached, you will need to create a new invitation.\n' + + 'Leave blank to accept the default or enter a different install limit if desired.\n', + }), }) return createFromUserInput(this, createInputDefinition, { dryRun: this.flags['dry-run'] })