|
1 | 1 | import { Platform } from '@expo/eas-build-job'; |
2 | 2 | import { Flags } from '@oclif/core'; |
3 | 3 |
|
4 | | -import EasCommand from '../../commandUtils/EasCommand'; |
| 4 | +import EasCommand from '../../../commandUtils/EasCommand'; |
5 | 5 | import { |
6 | 6 | EasNonInteractiveAndJsonFlags, |
7 | 7 | resolveNonInteractiveAndJsonFlags, |
8 | | -} from '../../commandUtils/flags'; |
9 | | -import { getLimitFlagWithCustomValues } from '../../commandUtils/pagination'; |
10 | | -import { AppPlatform } from '../../graphql/generated'; |
| 8 | +} from '../../../commandUtils/flags'; |
| 9 | +import { getLimitFlagWithCustomValues } from '../../../commandUtils/pagination'; |
| 10 | +import { AppPlatform } from '../../../graphql/generated'; |
11 | 11 | import { |
12 | 12 | EmbeddedUpdateFragment, |
13 | 13 | EmbeddedUpdateQuery, |
14 | | -} from '../../graphql/queries/EmbeddedUpdateQuery'; |
15 | | -import { toAppPlatform } from '../../graphql/types/AppPlatform'; |
16 | | -import Log from '../../log'; |
17 | | -import formatFields from '../../utils/formatFields'; |
18 | | -import { enableJsonOutput, printJsonOnlyOutput } from '../../utils/json'; |
| 14 | +} from '../../../graphql/queries/EmbeddedUpdateQuery'; |
| 15 | +import { toAppPlatform } from '../../../graphql/types/AppPlatform'; |
| 16 | +import Log from '../../../log'; |
| 17 | +import formatFields from '../../../utils/formatFields'; |
| 18 | +import { enableJsonOutput, printJsonOnlyOutput } from '../../../utils/json'; |
19 | 19 |
|
20 | 20 | const DEFAULT_LIMIT = 25; |
21 | 21 | const MAX_LIMIT = 50; |
22 | 22 |
|
23 | | -export default class UpdateListEmbedded extends EasCommand { |
| 23 | +export default class UpdateEmbeddedList extends EasCommand { |
24 | 24 | static override description = 'list embedded updates registered with EAS Update for this project'; |
25 | 25 |
|
26 | 26 | static override flags = { |
@@ -48,13 +48,13 @@ export default class UpdateListEmbedded extends EasCommand { |
48 | 48 | }; |
49 | 49 |
|
50 | 50 | async runAsync(): Promise<void> { |
51 | | - const { flags } = await this.parse(UpdateListEmbedded); |
| 51 | + const { flags } = await this.parse(UpdateEmbeddedList); |
52 | 52 | const { json: jsonFlag, nonInteractive } = resolveNonInteractiveAndJsonFlags(flags); |
53 | 53 |
|
54 | 54 | const { |
55 | 55 | projectId, |
56 | 56 | loggedIn: { graphqlClient }, |
57 | | - } = await this.getContextAsync(UpdateListEmbedded, { nonInteractive }); |
| 57 | + } = await this.getContextAsync(UpdateEmbeddedList, { nonInteractive }); |
58 | 58 |
|
59 | 59 | if (jsonFlag) { |
60 | 60 | enableJsonOutput(); |
|
0 commit comments