Skip to content

Commit 99d540f

Browse files
committed
docs: update help text for "accept limit" for schema app creation
1 parent fdf4250 commit 99d540f

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.changeset/cool-foxes-live.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@smartthings/cli": patch
3+
---
4+
5+
Updated help text for "accept limit" for schema invitation creation.

packages/cli/src/commands/invites/schema/create.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,12 @@ export default class InvitesSchemaCreateCommand extends APICommand<typeof Invite
7575
const createInputDefinition = objectDef<SchemaAppInvitationCreate>('Schema App Invitation', {
7676
schemaAppId: schemaAppIdDef,
7777
description: optionalStringDef('Description'),
78-
acceptLimit: optionalIntegerDef('Accept Limit',
78+
acceptLimit: optionalIntegerDef('Accept (Install) Limit',
7979
{
80-
helpText: 'Enter the maximum number of users you want to be able to accept the invitation.\n' +
81-
'Leave blank for no maximum.',
80+
helpText: 'Enter the maximum number of installs you want to allow for the invitation.\n' +
81+
'This limits the number of installs but we use the "accept" terminology here to match the API call.\n' +
82+
'There is also a limit of 30 days that cannot be changed. After that you will need to create a new invitation.\n' +
83+
'Leave blank for a maximum of 500.',
8284
}),
8385
})
8486

0 commit comments

Comments
 (0)