Skip to content

Commit

Permalink
[eas-cli] Fix flags and args
Browse files Browse the repository at this point in the history
Fixed flags and args in `device` commands

See: https://linear.app/expo/issue/ENG-9175/update-oclif-in-eas-cli
  • Loading branch information
radoslawkrzemien committed Dec 1, 2023
1 parent 26af526 commit 00d3322
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/eas-cli/src/commands/device/view.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -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,
Expand Down

0 comments on commit 00d3322

Please sign in to comment.