Skip to content

Commit 15f1147

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

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.changeset/cool-foxes-live.md

+5
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

+6-5
Original file line numberDiff line numberDiff line change
@@ -75,11 +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',
79-
{
80-
helpText: 'Enter the maximum number of users you want to be able to accept the invitation.\n' +
81-
'Leave blank for no maximum.',
82-
}),
78+
acceptLimit: optionalIntegerDef('Accept (Install) Limit', {
79+
helpText:
80+
'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' +
81+
'Once either the install limit or the time limit is reached, you will need to create a new invitation.\n' +
82+
'Leave blank to accept the default or enter a different install limit if desired.\n',
83+
}),
8384
})
8485

8586
return createFromUserInput(this, createInputDefinition, { dryRun: this.flags['dry-run'] })

0 commit comments

Comments
 (0)