From 00d3322ff99976a9c058c1ebcf41f1f0f3613f2a Mon Sep 17 00:00:00 2001 From: Radoslaw Krzemien Date: Fri, 1 Dec 2023 11:47:23 +0100 Subject: [PATCH] [eas-cli] Fix flags and args Fixed flags and args in `device` commands See: https://linear.app/expo/issue/ENG-9175/update-oclif-in-eas-cli --- packages/eas-cli/src/commands/device/view.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/eas-cli/src/commands/device/view.ts b/packages/eas-cli/src/commands/device/view.ts index 13307885c2..b9e89494ef 100644 --- a/packages/eas-cli/src/commands/device/view.ts +++ b/packages/eas-cli/src/commands/device/view.ts @@ -1,3 +1,5 @@ +import { Args } from '@oclif/core'; + import EasCommand from '../../commandUtils/EasCommand'; import { AppleDeviceQuery } from '../../credentials/ios/api/graphql/queries/AppleDeviceQuery'; import formatDevice from '../../devices/utils/formatDevice'; @@ -8,7 +10,7 @@ import { getOwnerAccountForProjectIdAsync } from '../../project/projectUtils'; export default class DeviceView extends EasCommand { static override description = 'view a device for your project'; - static override args = [{ name: 'UDID' }]; + static override args = { UDID: Args.string({ name: 'UDID' }) }; static override contextDefinition = { ...this.ContextOptions.ProjectConfig,