diff --git a/.changeset/orange-fireants-hammer.md b/.changeset/orange-fireants-hammer.md new file mode 100644 index 000000000..d705f25bc --- /dev/null +++ b/.changeset/orange-fireants-hammer.md @@ -0,0 +1,5 @@ +--- +"@smartthings/cli": patch +--- + +removed `-id` suffix from flags, update help text to reflect this diff --git a/packages/cli/src/commands/devices.ts b/packages/cli/src/commands/devices.ts index 32d995f72..62e8bc341 100644 --- a/packages/cli/src/commands/devices.ts +++ b/packages/cli/src/commands/devices.ts @@ -17,6 +17,7 @@ export default class DevicesCommand extends APICommand', }), capability: Flags.string({ char: 'c', @@ -34,11 +35,13 @@ export default class DevicesCommand extends APICommand', }), // eslint-disable-next-line @typescript-eslint/naming-convention 'installed-app': Flags.string({ char: 'a', description: 'filter results by installed app that created the device', + helpValue: '', }), status: Flags.boolean({ char: 's', diff --git a/packages/cli/src/commands/installedapps.ts b/packages/cli/src/commands/installedapps.ts index 71c2824cc..01dfac661 100644 --- a/packages/cli/src/commands/installedapps.ts +++ b/packages/cli/src/commands/installedapps.ts @@ -16,6 +16,7 @@ export default class InstalledAppsCommand extends APICommand', }), verbose: Flags.boolean({ description: 'include location name in output', diff --git a/packages/cli/src/commands/installedapps/delete.ts b/packages/cli/src/commands/installedapps/delete.ts index 454aa2007..dc167bba7 100644 --- a/packages/cli/src/commands/installedapps/delete.ts +++ b/packages/cli/src/commands/installedapps/delete.ts @@ -14,6 +14,7 @@ export default class InstalledAppDeleteCommand extends APICommand', }), verbose: Flags.boolean({ description: 'include location name in output', diff --git a/packages/cli/src/commands/installedapps/rename.ts b/packages/cli/src/commands/installedapps/rename.ts index 6726c9ca0..ee4b49709 100644 --- a/packages/cli/src/commands/installedapps/rename.ts +++ b/packages/cli/src/commands/installedapps/rename.ts @@ -17,6 +17,7 @@ export default class InstalledAppRenameCommand extends APICommand', }), verbose: Flags.boolean({ description: 'include location name in output', diff --git a/packages/cli/src/commands/installedschema.ts b/packages/cli/src/commands/installedschema.ts index 2ed95113d..7606bc690 100644 --- a/packages/cli/src/commands/installedschema.ts +++ b/packages/cli/src/commands/installedschema.ts @@ -21,6 +21,7 @@ export default class InstalledSchemaAppsCommand extends APICommand', }), verbose: Flags.boolean({ description: 'include location name in output', diff --git a/packages/cli/src/commands/installedschema/delete.ts b/packages/cli/src/commands/installedschema/delete.ts index 95740c321..517a245f6 100644 --- a/packages/cli/src/commands/installedschema/delete.ts +++ b/packages/cli/src/commands/installedschema/delete.ts @@ -16,6 +16,7 @@ export default class InstalledSchemaAppDeleteCommand extends APICommand', }), verbose: Flags.boolean({ description: 'include location name in output', diff --git a/packages/cli/src/commands/locations/rooms.ts b/packages/cli/src/commands/locations/rooms.ts index 43542fe1d..e3af200f1 100644 --- a/packages/cli/src/commands/locations/rooms.ts +++ b/packages/cli/src/commands/locations/rooms.ts @@ -15,6 +15,7 @@ export default class RoomsCommand extends APICommand location: Flags.string({ char: 'l', description: 'a specific location to query', + helpValue: '', }), verbose: Flags.boolean({ description: 'include location name in output', diff --git a/packages/cli/src/commands/locations/rooms/create.ts b/packages/cli/src/commands/locations/rooms/create.ts index 0d3cc31a5..b3a96dc60 100644 --- a/packages/cli/src/commands/locations/rooms/create.ts +++ b/packages/cli/src/commands/locations/rooms/create.ts @@ -14,6 +14,7 @@ export default class RoomsCreateCommand extends APICommand', }), } diff --git a/packages/cli/src/commands/locations/rooms/delete.ts b/packages/cli/src/commands/locations/rooms/delete.ts index b13c22c4d..5794737bb 100644 --- a/packages/cli/src/commands/locations/rooms/delete.ts +++ b/packages/cli/src/commands/locations/rooms/delete.ts @@ -11,6 +11,7 @@ export default class RoomsDeleteCommand extends APICommand', }), } diff --git a/packages/cli/src/commands/locations/rooms/update.ts b/packages/cli/src/commands/locations/rooms/update.ts index aeaa655be..8ae0946c4 100644 --- a/packages/cli/src/commands/locations/rooms/update.ts +++ b/packages/cli/src/commands/locations/rooms/update.ts @@ -13,6 +13,7 @@ export default class RoomsUpdateCommand extends APICommand', }), } diff --git a/packages/cli/src/commands/rules.ts b/packages/cli/src/commands/rules.ts index 788e5e21a..b2ce0b884 100644 --- a/packages/cli/src/commands/rules.ts +++ b/packages/cli/src/commands/rules.ts @@ -16,6 +16,7 @@ export default class RulesCommand extends APICommand location: Flags.string({ char: 'l', description: 'a specific location to query', + helpValue: '', }), } diff --git a/packages/cli/src/commands/rules/create.ts b/packages/cli/src/commands/rules/create.ts index 00f90ffdd..e8a40ec89 100644 --- a/packages/cli/src/commands/rules/create.ts +++ b/packages/cli/src/commands/rules/create.ts @@ -17,6 +17,7 @@ export default class RulesCreateCommand extends APICommand', }), } diff --git a/packages/cli/src/commands/rules/delete.ts b/packages/cli/src/commands/rules/delete.ts index bbd94d17b..aa12fd1b9 100644 --- a/packages/cli/src/commands/rules/delete.ts +++ b/packages/cli/src/commands/rules/delete.ts @@ -13,6 +13,7 @@ export default class RulesDeleteCommand extends APICommand', }), } diff --git a/packages/cli/src/commands/rules/execute.ts b/packages/cli/src/commands/rules/execute.ts index ee3fc4baf..6b6206681 100644 --- a/packages/cli/src/commands/rules/execute.ts +++ b/packages/cli/src/commands/rules/execute.ts @@ -16,6 +16,7 @@ export default class RulesExecuteCommand extends APICommand', }), } diff --git a/packages/cli/src/commands/rules/update.ts b/packages/cli/src/commands/rules/update.ts index 9a7308e12..b74c9aed2 100644 --- a/packages/cli/src/commands/rules/update.ts +++ b/packages/cli/src/commands/rules/update.ts @@ -16,6 +16,7 @@ export default class RulesUpdateCommand extends APICommand', }), } diff --git a/packages/cli/src/commands/scenes.ts b/packages/cli/src/commands/scenes.ts index 105ca0526..a90d73da0 100644 --- a/packages/cli/src/commands/scenes.ts +++ b/packages/cli/src/commands/scenes.ts @@ -17,6 +17,7 @@ export default class ScenesCommand extends APICommand', }), } diff --git a/packages/cli/src/commands/virtualdevices.ts b/packages/cli/src/commands/virtualdevices.ts index 89d822a39..0a4ce38f7 100644 --- a/packages/cli/src/commands/virtualdevices.ts +++ b/packages/cli/src/commands/virtualdevices.ts @@ -26,11 +26,13 @@ export default class VirtualDevicesCommand extends APICommand', }), // eslint-disable-next-line @typescript-eslint/naming-convention 'installed-app': Flags.string({ char: 'a', description: 'filter results by installed app that created the device', + helpValue: '', }), verbose: Flags.boolean({ description: 'include location name in output', diff --git a/packages/cli/src/commands/virtualdevices/create-standard.ts b/packages/cli/src/commands/virtualdevices/create-standard.ts index 07d3ede47..53f88b56c 100644 --- a/packages/cli/src/commands/virtualdevices/create-standard.ts +++ b/packages/cli/src/commands/virtualdevices/create-standard.ts @@ -43,10 +43,12 @@ export default class VirtualDeviceCreateStandardCommand extends APICommand', }), room: Flags.string({ char: 'R', description: 'the room to put the device into', + helpValue: '', }), prototype: Flags.string({ char: 'T', diff --git a/packages/cli/src/commands/virtualdevices/create.ts b/packages/cli/src/commands/virtualdevices/create.ts index becb5ed34..19bfbe91d 100644 --- a/packages/cli/src/commands/virtualdevices/create.ts +++ b/packages/cli/src/commands/virtualdevices/create.ts @@ -45,15 +45,18 @@ export default class VirtualDeviceCreateCommand extends APIOrganizationCommand', }), room: Flags.string({ char: 'R', description: 'the room to put the device into', + helpValue: '', }), /* eslint-disable @typescript-eslint/naming-convention */ 'device-profile': Flags.string({ char: 'P', description: 'the device profile ID', + helpValue: '', }), 'device-profile-file': Flags.string({ char: 'f',