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,