shipthis 0.0.9 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/README.md +36 -20
  2. package/bin/readme.sh +15 -0
  3. package/bin/run.js +1 -1
  4. package/dist/{App-SiSXLW2s.js → App-BfoOFeZ-.js} +1 -1
  5. package/dist/{AppleBundleIdDetails-Nk85zNWP.js → AppleBundleIdDetails-n1_U8IqK.js} +3 -3
  6. package/dist/{UserCredentialsTable-CyNAsFc1.js → UserCredentialsTable-D2Nm0QP_.js} +2 -2
  7. package/dist/{baseAppleCommand-IhowpKpk.js → baseAppleCommand-DK5-Cvg4.js} +1 -1
  8. package/dist/{baseGameCommand-BeUNc6Wy.js → baseGameCommand-B3NbuvDu.js} +1 -1
  9. package/dist/commands/apple/apiKey/create.js +5 -5
  10. package/dist/commands/apple/apiKey/export.js +3 -3
  11. package/dist/commands/apple/apiKey/import.js +3 -3
  12. package/dist/commands/apple/apiKey/status.js +5 -5
  13. package/dist/commands/apple/certificate/create.js +5 -5
  14. package/dist/commands/apple/certificate/export.js +3 -3
  15. package/dist/commands/apple/certificate/import.js +3 -3
  16. package/dist/commands/apple/certificate/status.js +5 -5
  17. package/dist/commands/apple/login.js +5 -5
  18. package/dist/commands/apple/status.js +25 -10
  19. package/dist/commands/dashboard.js +1 -1
  20. package/dist/commands/game/build/download.js +2 -2
  21. package/dist/commands/game/build/list.js +5 -5
  22. package/dist/commands/game/create.js +3 -3
  23. package/dist/commands/game/details.js +4 -4
  24. package/dist/commands/game/export.js +1 -1
  25. package/dist/commands/game/ios/app/addTester.js +4 -4
  26. package/dist/commands/game/ios/app/create.js +4 -4
  27. package/dist/commands/game/ios/app/status.js +6 -6
  28. package/dist/commands/game/ios/app/sync.js +4 -4
  29. package/dist/commands/game/ios/profile/create.js +5 -5
  30. package/dist/commands/game/ios/profile/export.js +3 -3
  31. package/dist/commands/game/ios/profile/import.js +3 -3
  32. package/dist/commands/game/ios/profile/status.js +4 -4
  33. package/dist/commands/game/ios/status.js +6 -6
  34. package/dist/commands/game/job/list.js +5 -5
  35. package/dist/commands/game/job/status.js +5 -5
  36. package/dist/commands/game/list.js +4 -4
  37. package/dist/commands/game/ship.js +3 -3
  38. package/dist/commands/game/status.js +4 -4
  39. package/dist/commands/game/wizard.js +4 -3
  40. package/dist/commands/login.js +2 -2
  41. package/dist/commands/status.js +4 -22
  42. package/dist/{export-CQ_P94We.js → export-C16psune.js} +1 -1
  43. package/dist/{import-BGHUTVNR.js → import-hte2Jy0K.js} +1 -1
  44. package/dist/{index-CNME7EEo.js → index-ZHJdUrwJ.js} +1 -1
  45. package/dist/{upload-D6ScllRL.js → upload-DADrkIUB.js} +1 -1
  46. package/dist/{useAppleApp-D0wyTA6C.js → useAppleApp-Cr3VcGVs.js} +1 -1
  47. package/dist/{useAppleBundleId-VKmaX7sP.js → useAppleBundleId-BxtyGpHy.js} +1 -1
  48. package/dist/{useBuilds-e6LIXrOH.js → useBuilds-JHqMwpWS.js} +3 -3
  49. package/dist/{useJob-D8xNld5t.js → useJob-Bc9fdiyP.js} +2 -2
  50. package/dist/utils/help.js +14 -0
  51. package/docs/README.md +20 -0
  52. package/docs/apple/apiKey/create.md +26 -0
  53. package/docs/apple/apiKey/export.md +24 -0
  54. package/docs/apple/apiKey/import.md +24 -0
  55. package/docs/apple/apiKey/status.md +25 -0
  56. package/docs/apple/apiKey.md +110 -0
  57. package/docs/apple/certificate/create.md +26 -0
  58. package/docs/apple/certificate/export.md +24 -0
  59. package/docs/apple/certificate/import.md +24 -0
  60. package/docs/apple/certificate/status.md +25 -0
  61. package/docs/apple/certificate.md +110 -0
  62. package/docs/apple/login.md +30 -0
  63. package/docs/apple/status.md +21 -0
  64. package/docs/apple.md +48 -0
  65. package/docs/dashboard.md +18 -0
  66. package/docs/game/build/download.md +28 -0
  67. package/docs/game/build/list.md +31 -0
  68. package/docs/game/build.md +68 -0
  69. package/docs/game/create.md +23 -0
  70. package/docs/game/details.md +35 -0
  71. package/docs/game/export.md +26 -0
  72. package/docs/game/ios/app/addTester.md +24 -0
  73. package/docs/game/ios/app/create.md +25 -0
  74. package/docs/game/ios/app/status.md +21 -0
  75. package/docs/game/ios/app/sync.md +23 -0
  76. package/docs/game/ios/app.md +104 -0
  77. package/docs/game/ios/profile/create.md +23 -0
  78. package/docs/game/ios/profile/export.md +25 -0
  79. package/docs/game/ios/profile/import.md +25 -0
  80. package/docs/game/ios/profile/status.md +22 -0
  81. package/docs/game/ios/profile.md +106 -0
  82. package/docs/game/ios/status.md +23 -0
  83. package/docs/game/ios.md +247 -0
  84. package/docs/game/job/list.md +29 -0
  85. package/docs/game/job/status.md +30 -0
  86. package/docs/game/job.md +68 -0
  87. package/docs/game/list.md +26 -0
  88. package/docs/game/ship.md +21 -0
  89. package/docs/game/status.md +23 -0
  90. package/docs/game/wizard.md +23 -0
  91. package/docs/game.md +19 -0
  92. package/docs/help.md +21 -0
  93. package/docs/login.md +28 -0
  94. package/docs/status.md +33 -0
  95. package/oclif.manifest.json +169 -167
  96. package/package.json +17 -3
@@ -1,14 +1,14 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { render } from 'ink';
3
3
  import { Flags } from '@oclif/core';
4
- import { A as App } from '../../../../App-SiSXLW2s.js';
4
+ import { A as App } from '../../../../App-BfoOFeZ-.js';
5
5
  import 'ink-spinner';
6
- import { a as getInput } from '../../../../index-CNME7EEo.js';
6
+ import { a as getInput } from '../../../../index-ZHJdUrwJ.js';
7
7
  import 'react';
8
- import { d as BaseGameCommand, j as BetaGroup } from '../../../../baseGameCommand-BeUNc6Wy.js';
8
+ import { d as BaseGameCommand, j as BetaGroup } from '../../../../baseGameCommand-B3NbuvDu.js';
9
9
  import 'luxon';
10
10
  import '@tanstack/react-query';
11
- import { q as queryAppleApp } from '../../../../useAppleApp-D0wyTA6C.js';
11
+ import { q as queryAppleApp } from '../../../../useAppleApp-Cr3VcGVs.js';
12
12
  import 'axios';
13
13
  import 'fs';
14
14
  import 'socket.io-client';
@@ -1,11 +1,11 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { render } from 'ink';
3
3
  import { Flags } from '@oclif/core';
4
- import { A as App } from '../../../../App-SiSXLW2s.js';
4
+ import { A as App } from '../../../../App-BfoOFeZ-.js';
5
5
  import 'ink-spinner';
6
- import { a as getInput, b as generatePackageName } from '../../../../index-CNME7EEo.js';
6
+ import { a as getInput, b as generatePackageName } from '../../../../index-ZHJdUrwJ.js';
7
7
  import 'react';
8
- import { d as BaseGameCommand, l as getGodotAppleBundleIdentifier, m as BundleId, k as App$1 } from '../../../../baseGameCommand-BeUNc6Wy.js';
8
+ import { d as BaseGameCommand, l as getGodotAppleBundleIdentifier, m as BundleId, k as App$1 } from '../../../../baseGameCommand-B3NbuvDu.js';
9
9
  import 'luxon';
10
10
  import '@tanstack/react-query';
11
11
  import 'axios';
@@ -25,7 +25,7 @@ import 'deepmerge';
25
25
 
26
26
  class GameIosAppCreate extends BaseGameCommand {
27
27
  static args = {};
28
- static description = "Creates an App and BundleId in the Apple Developer Portal. If --gameId is not provided it will look in the current directory.";
28
+ static description = "Creates an App and BundleId in the Apple Developer Portal.";
29
29
  static examples = ["<%= config.bin %> <%= command.id %>"];
30
30
  static flags = {
31
31
  quiet: Flags.boolean({ char: "q", description: "Avoid output except for interactions and errors" }),
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { render } from 'ink';
3
3
  import { Flags } from '@oclif/core';
4
- import { A as App } from '../../../../App-SiSXLW2s.js';
4
+ import { A as App } from '../../../../App-BfoOFeZ-.js';
5
5
  import 'ink-spinner';
6
6
  import 'crypto';
7
7
  import 'fs';
@@ -10,26 +10,26 @@ import 'node:readline';
10
10
  import 'react';
11
11
  import 'axios';
12
12
  import '@tanstack/react-query';
13
- import { d as BaseGameCommand } from '../../../../baseGameCommand-BeUNc6Wy.js';
13
+ import { d as BaseGameCommand } from '../../../../baseGameCommand-B3NbuvDu.js';
14
14
  import 'luxon';
15
15
  import 'socket.io-client';
16
16
  import '@expo/apple-utils/build/index.js';
17
17
  import 'isomorphic-git';
18
- import { A as AppleAppDetails, a as AppleBundleIdDetails } from '../../../../AppleBundleIdDetails-Nk85zNWP.js';
18
+ import { A as AppleAppDetails, a as AppleBundleIdDetails } from '../../../../AppleBundleIdDetails-n1_U8IqK.js';
19
19
  import 'string-length';
20
20
  import 'strip-ansi';
21
21
  import { N as NextSteps } from '../../../../NextSteps-CK9zHOCt.js';
22
22
  import 'path';
23
23
  import 'ini';
24
24
  import 'deepmerge';
25
- import '../../../../useAppleApp-D0wyTA6C.js';
25
+ import '../../../../useAppleApp-Cr3VcGVs.js';
26
26
  import '../../../../Title-BCQtayg6.js';
27
27
  import '../../../../Table-CvM6pccN.js';
28
- import '../../../../useAppleBundleId-VKmaX7sP.js';
28
+ import '../../../../useAppleBundleId-BxtyGpHy.js';
29
29
 
30
30
  class GameIosAppStatus extends BaseGameCommand {
31
31
  static args = {};
32
- static description = "Shows the Game iOS App status. If --gameId is not provided it will look in the current directory.";
32
+ static description = "Shows the Game iOS App status. ";
33
33
  static examples = ["<%= config.bin %> <%= command.id %>"];
34
34
  static flags = {
35
35
  gameId: Flags.string({ char: "g", description: "The ID of the game" })
@@ -1,7 +1,7 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { render } from 'ink';
3
3
  import { Flags } from '@oclif/core';
4
- import { A as App } from '../../../../App-SiSXLW2s.js';
4
+ import { A as App } from '../../../../App-BfoOFeZ-.js';
5
5
  import 'ink-spinner';
6
6
  import 'crypto';
7
7
  import 'fs';
@@ -10,10 +10,10 @@ import 'node:readline';
10
10
  import 'react';
11
11
  import 'axios';
12
12
  import '@tanstack/react-query';
13
- import { d as BaseGameCommand, h as CapabilityTypeOption } from '../../../../baseGameCommand-BeUNc6Wy.js';
13
+ import { d as BaseGameCommand, h as CapabilityTypeOption } from '../../../../baseGameCommand-B3NbuvDu.js';
14
14
  import 'luxon';
15
15
  import 'socket.io-client';
16
- import { f as fetchBundleId } from '../../../../useAppleBundleId-VKmaX7sP.js';
16
+ import { f as fetchBundleId } from '../../../../useAppleBundleId-BxtyGpHy.js';
17
17
  import 'isomorphic-git';
18
18
  import 'string-length';
19
19
  import 'strip-ansi';
@@ -25,7 +25,7 @@ import 'deepmerge';
25
25
 
26
26
  class GameIosAppSync extends BaseGameCommand {
27
27
  static args = {};
28
- static description = 'Synchronies the Apple App "BundleId" with the capabilities from the local project. If --gameId is not provided it will look in the current directory.';
28
+ static description = 'Synchronies the Apple App "BundleId" with the capabilities from the local project.';
29
29
  static examples = ["<%= config.bin %> <%= command.id %>"];
30
30
  static flags = {
31
31
  quiet: Flags.boolean({ char: "q", description: "Avoid output except for interactions and errors" }),
@@ -2,9 +2,9 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import { render } from 'ink';
3
3
  import { Flags } from '@oclif/core';
4
4
  import axios from 'axios';
5
- import { A as App } from '../../../../App-SiSXLW2s.js';
5
+ import { A as App } from '../../../../App-BfoOFeZ-.js';
6
6
  import 'ink-spinner';
7
- import { d as BaseGameCommand, n as getProjectCredentials, P as Platform, C as CredentialsType, q as Certificate, r as CertificateType, g as getUserCredentials, s as Profile, t as ProfileType } from '../../../../baseGameCommand-BeUNc6Wy.js';
7
+ import { d as BaseGameCommand, n as getProjectCredentials, P as Platform, C as CredentialsType, q as Certificate, r as CertificateType, g as getUserCredentials, s as Profile, t as ProfileType } from '../../../../baseGameCommand-B3NbuvDu.js';
8
8
  import 'crypto';
9
9
  import 'fs';
10
10
  import 'readline-sync';
@@ -13,20 +13,20 @@ import 'react';
13
13
  import '@tanstack/react-query';
14
14
  import 'luxon';
15
15
  import 'socket.io-client';
16
- import { f as fetchBundleId } from '../../../../useAppleBundleId-VKmaX7sP.js';
16
+ import { f as fetchBundleId } from '../../../../useAppleBundleId-BxtyGpHy.js';
17
17
  import 'isomorphic-git';
18
18
  import 'string-length';
19
19
  import 'strip-ansi';
20
20
  import { R as RunWithSpinner } from '../../../../RunWithSpinner-BVXNWGD3.js';
21
21
  import 'path';
22
- import { a as uploadProjectCredentials } from '../../../../upload-D6ScllRL.js';
22
+ import { a as uploadProjectCredentials } from '../../../../upload-DADrkIUB.js';
23
23
  import '@expo/apple-utils/build/index.js';
24
24
  import 'ini';
25
25
  import 'deepmerge';
26
26
 
27
27
  class GameIosProfileCreate extends BaseGameCommand {
28
28
  static args = {};
29
- static description = "Creates a Mobile Provisioning Profile in the Apple Developer Portal. If --gameId is not provided it will look in the current directory.";
29
+ static description = "Creates a Mobile Provisioning Profile in the Apple Developer Portal.";
30
30
  static examples = ["<%= config.bin %> <%= command.id %>"];
31
31
  static flags = {
32
32
  quiet: Flags.boolean({ char: "q", description: "Avoid output except for interactions and errors" }),
@@ -5,7 +5,7 @@ import * as fs from 'fs';
5
5
  import 'path';
6
6
  import '@expo/apple-utils/build/index.js';
7
7
  import 'axios';
8
- import { d as BaseGameCommand, n as getProjectCredentials, P as Platform, C as CredentialsType } from '../../../../baseGameCommand-BeUNc6Wy.js';
8
+ import { d as BaseGameCommand, n as getProjectCredentials, P as Platform, C as CredentialsType } from '../../../../baseGameCommand-B3NbuvDu.js';
9
9
  import 'luxon';
10
10
  import 'crypto';
11
11
  import 'readline-sync';
@@ -14,12 +14,12 @@ import 'react';
14
14
  import '@tanstack/react-query';
15
15
  import 'socket.io-client';
16
16
  import 'isomorphic-git';
17
- import { A as App } from '../../../../App-SiSXLW2s.js';
17
+ import { A as App } from '../../../../App-BfoOFeZ-.js';
18
18
  import 'ink-spinner';
19
19
  import 'string-length';
20
20
  import 'strip-ansi';
21
21
  import { R as RunWithSpinner } from '../../../../RunWithSpinner-BVXNWGD3.js';
22
- import { e as exportCredential } from '../../../../export-CQ_P94We.js';
22
+ import { e as exportCredential } from '../../../../export-C16psune.js';
23
23
  import 'ini';
24
24
  import 'deepmerge';
25
25
 
@@ -5,7 +5,7 @@ import * as fs from 'fs';
5
5
  import 'path';
6
6
  import '@expo/apple-utils/build/index.js';
7
7
  import 'axios';
8
- import { d as BaseGameCommand, n as getProjectCredentials, P as Platform, C as CredentialsType } from '../../../../baseGameCommand-BeUNc6Wy.js';
8
+ import { d as BaseGameCommand, n as getProjectCredentials, P as Platform, C as CredentialsType } from '../../../../baseGameCommand-B3NbuvDu.js';
9
9
  import 'luxon';
10
10
  import 'crypto';
11
11
  import 'readline-sync';
@@ -14,12 +14,12 @@ import 'react';
14
14
  import '@tanstack/react-query';
15
15
  import 'socket.io-client';
16
16
  import 'isomorphic-git';
17
- import { A as App } from '../../../../App-SiSXLW2s.js';
17
+ import { A as App } from '../../../../App-BfoOFeZ-.js';
18
18
  import 'ink-spinner';
19
19
  import 'string-length';
20
20
  import 'strip-ansi';
21
21
  import { R as RunWithSpinner } from '../../../../RunWithSpinner-BVXNWGD3.js';
22
- import { i as importCredential } from '../../../../import-BGHUTVNR.js';
22
+ import { i as importCredential } from '../../../../import-hte2Jy0K.js';
23
23
  import 'ini';
24
24
  import 'deepmerge';
25
25
 
@@ -1,9 +1,9 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { Box, Text, render } from 'ink';
3
3
  import { Flags } from '@oclif/core';
4
- import { A as App } from '../../../../App-SiSXLW2s.js';
4
+ import { A as App } from '../../../../App-BfoOFeZ-.js';
5
5
  import Spinner from 'ink-spinner';
6
- import { f as getShortDate, s as Profile, t as ProfileType, o as getAuthedHeaders, p as API_URL, I as castArrayObjectDates, P as Platform, C as CredentialsType, d as BaseGameCommand } from '../../../../baseGameCommand-BeUNc6Wy.js';
6
+ import { f as getShortDate, s as Profile, t as ProfileType, o as getAuthedHeaders, p as API_URL, I as castArrayObjectDates, P as Platform, C as CredentialsType, d as BaseGameCommand } from '../../../../baseGameCommand-B3NbuvDu.js';
7
7
  import 'crypto';
8
8
  import 'fs';
9
9
  import 'readline-sync';
@@ -16,7 +16,7 @@ import 'socket.io-client';
16
16
  import '@expo/apple-utils/build/index.js';
17
17
  import 'isomorphic-git';
18
18
  import { c as cacheKeys } from '../../../../cacheKeys-CShA-ZjE.js';
19
- import { g as getShortUUID } from '../../../../index-CNME7EEo.js';
19
+ import { g as getShortUUID } from '../../../../index-ZHJdUrwJ.js';
20
20
  import { T as Title } from '../../../../Title-BCQtayg6.js';
21
21
  import { T as Table } from '../../../../Table-CvM6pccN.js';
22
22
  import 'string-length';
@@ -149,7 +149,7 @@ const ProjectCredentialsTable = ({ credentialTypeName, queryProps, ...boxProps }
149
149
 
150
150
  class GameIosProfileStatus extends BaseGameCommand {
151
151
  static args = {};
152
- static description = "Shows the Game iOS Mobile Provisioning Profile Status. If --gameId is not provided it will look in the current directory.";
152
+ static description = "Shows the Game iOS Mobile Provisioning Profile Status.";
153
153
  static examples = ["<%= config.bin %> <%= command.id %>"];
154
154
  static flags = {
155
155
  gameId: Flags.string({ char: "g", description: "The ID of the game" }),
@@ -1,12 +1,12 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { render } from 'ink';
3
3
  import { Flags } from '@oclif/core';
4
- import { A as App } from '../../../App-SiSXLW2s.js';
4
+ import { A as App } from '../../../App-BfoOFeZ-.js';
5
5
  import 'ink-spinner';
6
- import { d as BaseGameCommand, e as getProjectPlatformProgress, P as Platform, f as getShortDate } from '../../../baseGameCommand-BeUNc6Wy.js';
7
- import { g as getShortUUID, m as makeHumanReadable } from '../../../index-CNME7EEo.js';
6
+ import { d as BaseGameCommand, e as getProjectPlatformProgress, P as Platform, f as getShortDate } from '../../../baseGameCommand-B3NbuvDu.js';
7
+ import { g as getShortUUID, m as makeHumanReadable } from '../../../index-ZHJdUrwJ.js';
8
8
  import 'react';
9
- import { A as AppleAppDetails, a as AppleBundleIdDetails } from '../../../AppleBundleIdDetails-Nk85zNWP.js';
9
+ import { A as AppleAppDetails, a as AppleBundleIdDetails } from '../../../AppleBundleIdDetails-n1_U8IqK.js';
10
10
  import { S as StatusTable } from '../../../StatusTable-CxuX_R1D.js';
11
11
  import 'axios';
12
12
  import '@tanstack/react-query';
@@ -24,10 +24,10 @@ import 'node:readline';
24
24
  import 'isomorphic-git';
25
25
  import 'ini';
26
26
  import 'deepmerge';
27
- import '../../../useAppleApp-D0wyTA6C.js';
27
+ import '../../../useAppleApp-Cr3VcGVs.js';
28
28
  import '../../../Title-BCQtayg6.js';
29
29
  import '../../../Table-CvM6pccN.js';
30
- import '../../../useAppleBundleId-VKmaX7sP.js';
30
+ import '../../../useAppleBundleId-BxtyGpHy.js';
31
31
 
32
32
  class GameIosStatus extends BaseGameCommand {
33
33
  static args = {};
@@ -4,15 +4,15 @@ import { Flags } from '@oclif/core';
4
4
  import 'path';
5
5
  import 'fs';
6
6
  import '@expo/apple-utils/build/index.js';
7
- import { d as BaseGameCommand, J as getProjectJobs } from '../../../baseGameCommand-BeUNc6Wy.js';
8
- import { d as getJobStatusColor } from '../../../index-CNME7EEo.js';
9
- import { A as App } from '../../../App-SiSXLW2s.js';
7
+ import { d as BaseGameCommand, J as getProjectJobs } from '../../../baseGameCommand-B3NbuvDu.js';
8
+ import { d as getJobStatusColor } from '../../../index-ZHJdUrwJ.js';
9
+ import { A as App } from '../../../App-BfoOFeZ-.js';
10
10
  import 'ink-spinner';
11
11
  import { T as Table } from '../../../Table-CvM6pccN.js';
12
12
  import { DateTime } from 'luxon';
13
13
  import '@tanstack/react-query';
14
14
  import 'axios';
15
- import { a as getJobSummary } from '../../../useJob-D8xNld5t.js';
15
+ import { a as getJobSummary } from '../../../useJob-Bc9fdiyP.js';
16
16
  import 'react';
17
17
  import 'socket.io-client';
18
18
  import 'string-length';
@@ -27,7 +27,7 @@ import '../../../cacheKeys-CShA-ZjE.js';
27
27
 
28
28
  class GameJobList extends BaseGameCommand {
29
29
  static args = {};
30
- static description = "Lists the jobs for a game. If --gameId is not provided it will look in the current directory.";
30
+ static description = "Lists the jobs for a game.";
31
31
  static examples = [
32
32
  "<%= config.bin %> <%= command.id %>",
33
33
  "<%= config.bin %> <%= command.id %> --gameId 0c179fc4"
@@ -4,7 +4,7 @@ import { measureElement, Box, Text, render } from 'ink';
4
4
  import 'path';
5
5
  import 'fs';
6
6
  import '@expo/apple-utils/build/index.js';
7
- import { o as getAuthedHeaders, p as API_URL, I as castArrayObjectDates, a0 as getAuthToken, $ as WS_URL, a1 as castObjectDates, a2 as castJobDates, a3 as getShortTime, K as JobStatus, d as BaseGameCommand, M as getJob } from '../../../baseGameCommand-BeUNc6Wy.js';
7
+ import { o as getAuthedHeaders, p as API_URL, I as castArrayObjectDates, _ as getAuthToken, $ as WS_URL, a0 as castObjectDates, a1 as castJobDates, a2 as getShortTime, K as JobStatus, d as BaseGameCommand, M as getJob } from '../../../baseGameCommand-B3NbuvDu.js';
8
8
  import 'crypto';
9
9
  import 'readline-sync';
10
10
  import 'node:readline';
@@ -14,16 +14,16 @@ import { useInfiniteQuery } from '@tanstack/react-query';
14
14
  import { io } from 'socket.io-client';
15
15
  import { DateTime } from 'luxon';
16
16
  import 'isomorphic-git';
17
- import { A as App } from '../../../App-SiSXLW2s.js';
17
+ import { A as App } from '../../../App-BfoOFeZ-.js';
18
18
  import Spinner from 'ink-spinner';
19
- import { h as getStageColor, j as getMessageColor, d as getJobStatusColor } from '../../../index-CNME7EEo.js';
19
+ import { h as getStageColor, j as getMessageColor, d as getJobStatusColor } from '../../../index-ZHJdUrwJ.js';
20
20
  import { c as cacheKeys } from '../../../cacheKeys-CShA-ZjE.js';
21
21
  import { T as Title } from '../../../Title-BCQtayg6.js';
22
22
  import stringLength from 'string-length';
23
23
  import stripAnsi from 'strip-ansi';
24
- import { u as useJob, a as getJobSummary } from '../../../useJob-D8xNld5t.js';
24
+ import { u as useJob, a as getJobSummary } from '../../../useJob-Bc9fdiyP.js';
25
25
  import { a as StatusRow, b as StatusRowLabel } from '../../../StatusTable-CxuX_R1D.js';
26
- import { g as getBuildSummary } from '../../../useBuilds-e6LIXrOH.js';
26
+ import { g as getBuildSummary } from '../../../useBuilds-JHqMwpWS.js';
27
27
  import { N as NextSteps } from '../../../NextSteps-CK9zHOCt.js';
28
28
  import 'ini';
29
29
  import 'deepmerge';
@@ -1,12 +1,12 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { render, Box, Text } from 'ink';
3
3
  import { Flags } from '@oclif/core';
4
- import { B as BaseAuthenticatedCommand, w as getProjects, f as getShortDate } from '../../baseGameCommand-BeUNc6Wy.js';
4
+ import { B as BaseAuthenticatedCommand, w as getProjects, f as getShortDate } from '../../baseGameCommand-B3NbuvDu.js';
5
5
  import 'path';
6
6
  import 'fs';
7
7
  import '@expo/apple-utils/build/index.js';
8
- import { g as getShortUUID } from '../../index-CNME7EEo.js';
9
- import { A as App } from '../../App-SiSXLW2s.js';
8
+ import { g as getShortUUID } from '../../index-ZHJdUrwJ.js';
9
+ import { A as App } from '../../App-BfoOFeZ-.js';
10
10
  import 'ink-spinner';
11
11
  import { T as Table } from '../../Table-CvM6pccN.js';
12
12
  import 'luxon';
@@ -25,7 +25,7 @@ import 'isomorphic-git';
25
25
 
26
26
  class GameList extends BaseAuthenticatedCommand {
27
27
  static args = {};
28
- static description = "Shows a list of all your games";
28
+ static description = "Shows a list of all your games.";
29
29
  static examples = ["<%= config.bin %> <%= command.id %>"];
30
30
  static flags = {
31
31
  pageNumber: Flags.integer({ char: "p", description: "The page number to show (starts at 0)", default: 0 }),
@@ -3,8 +3,8 @@ import axios from 'axios';
3
3
  import fg from 'fast-glob';
4
4
  import fs__default from 'fs';
5
5
  import yazl from 'yazl';
6
- import { d as BaseGameCommand, D as DEFAULT_SHIPPED_FILES_GLOBS, c as DEFAULT_IGNORED_FILES_GLOBS, N as getNewUploadTicket, O as startJobsFromUpload } from '../../baseGameCommand-BeUNc6Wy.js';
7
- import { e as getFileHash } from '../../index-CNME7EEo.js';
6
+ import { d as BaseGameCommand, D as DEFAULT_SHIPPED_FILES_GLOBS, c as DEFAULT_IGNORED_FILES_GLOBS, N as getNewUploadTicket, O as startJobsFromUpload } from '../../baseGameCommand-B3NbuvDu.js';
7
+ import { e as getFileHash } from '../../index-ZHJdUrwJ.js';
8
8
  import { g as getCWDGitInfo } from '../../git-DREGq-jc.js';
9
9
  import '@oclif/core';
10
10
  import 'path';
@@ -22,7 +22,7 @@ import 'isomorphic-git';
22
22
 
23
23
  class GameShip extends BaseGameCommand {
24
24
  static args = {};
25
- static description = "Builds the app (for all platforms with valid credentials) and ships it to the stores";
25
+ static description = "Builds the app (for all platforms with valid credentials) and ships it to the stores.";
26
26
  static examples = ["<%= config.bin %> <%= command.id %>"];
27
27
  async run() {
28
28
  await this.ensureWeAreInAProjectDir();
@@ -1,10 +1,10 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { render } from 'ink';
3
3
  import { Flags } from '@oclif/core';
4
- import { A as App } from '../../App-SiSXLW2s.js';
4
+ import { A as App } from '../../App-BfoOFeZ-.js';
5
5
  import 'ink-spinner';
6
- import { d as BaseGameCommand, e as getProjectPlatformProgress, P as Platform, f as getShortDate } from '../../baseGameCommand-BeUNc6Wy.js';
7
- import { g as getShortUUID, m as makeHumanReadable } from '../../index-CNME7EEo.js';
6
+ import { d as BaseGameCommand, e as getProjectPlatformProgress, P as Platform, f as getShortDate } from '../../baseGameCommand-B3NbuvDu.js';
7
+ import { g as getShortUUID, m as makeHumanReadable } from '../../index-ZHJdUrwJ.js';
8
8
  import 'react';
9
9
  import 'luxon';
10
10
  import '@tanstack/react-query';
@@ -27,7 +27,7 @@ import '../../Title-BCQtayg6.js';
27
27
 
28
28
  class GameStatus extends BaseGameCommand {
29
29
  static args = {};
30
- static description = "Shows the Game status. If --gameId is not provided it will look in the current directory.";
30
+ static description = "Shows the status of the current game.";
31
31
  static examples = [
32
32
  "<%= config.bin %> <%= command.id %>",
33
33
  "<%= config.bin %> <%= command.id %> --gameId 0c179fc4"
@@ -1,5 +1,5 @@
1
1
  import { Flags } from '@oclif/core';
2
- import { B as BaseAuthenticatedCommand, i as isCWDGodotGame, g as getUserCredentials, P as Platform, C as CredentialsType, n as getProjectCredentials } from '../../baseGameCommand-BeUNc6Wy.js';
2
+ import { B as BaseAuthenticatedCommand, i as isCWDGodotGame, g as getUserCredentials, P as Platform, C as CredentialsType, n as getProjectCredentials } from '../../baseGameCommand-B3NbuvDu.js';
3
3
  import 'path';
4
4
  import 'fs';
5
5
  import '@expo/apple-utils/build/index.js';
@@ -22,7 +22,7 @@ class GameWizard extends BaseAuthenticatedCommand {
22
22
  static flags = {
23
23
  forceStep: Flags.string({
24
24
  char: "f",
25
- description: "Force a specific step to run. You can repeat this flag to force multiple steps."
25
+ description: "Force a specific step to run."
26
26
  }),
27
27
  platform: Flags.string({
28
28
  char: "p",
@@ -31,7 +31,8 @@ class GameWizard extends BaseAuthenticatedCommand {
31
31
  "ios"
32
32
  /* TODO - android */
33
33
  ],
34
- required: true
34
+ required: false,
35
+ default: "ios"
35
36
  })
36
37
  };
37
38
  async run() {
@@ -1,7 +1,7 @@
1
1
  import axios from 'axios';
2
2
  import { Flags } from '@oclif/core';
3
- import { W as WEB_URL, V as BaseCommand, p as API_URL, X as setAuthToken, Y as acceptTerms } from '../baseGameCommand-BeUNc6Wy.js';
4
- import { a as getInput } from '../index-CNME7EEo.js';
3
+ import { W as WEB_URL, T as BaseCommand, p as API_URL, X as setAuthToken, Y as acceptTerms } from '../baseGameCommand-B3NbuvDu.js';
4
+ import { a as getInput } from '../index-ZHJdUrwJ.js';
5
5
  import 'path';
6
6
  import 'fs';
7
7
  import '@expo/apple-utils/build/index.js';
@@ -1,10 +1,10 @@
1
- import { jsx, jsxs } from 'react/jsx-runtime';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { render } from 'ink';
3
- import { _ as DOMAIN, p as API_URL, $ as WS_URL, W as WEB_URL, V as BaseCommand, i as isCWDGodotGame } from '../baseGameCommand-BeUNc6Wy.js';
3
+ import { T as BaseCommand, i as isCWDGodotGame } from '../baseGameCommand-B3NbuvDu.js';
4
4
  import 'axios';
5
5
  import 'luxon';
6
6
  import 'fs';
7
- import { A as App } from '../App-SiSXLW2s.js';
7
+ import { A as App } from '../App-BfoOFeZ-.js';
8
8
  import 'ink-spinner';
9
9
  import 'crypto';
10
10
  import 'readline-sync';
@@ -25,23 +25,6 @@ import 'deepmerge';
25
25
  import 'isomorphic-git';
26
26
  import '../Title-BCQtayg6.js';
27
27
 
28
- const Environment = () => {
29
- if (process.env.NODE_ENV === "production") return null;
30
- return /* @__PURE__ */ jsx(
31
- StatusTable,
32
- {
33
- marginTop: 1,
34
- title: "Environment",
35
- statuses: {
36
- DOMAIN,
37
- API_URL,
38
- WS_URL,
39
- WEB_URL
40
- }
41
- }
42
- );
43
- };
44
-
45
28
  class Status extends BaseCommand {
46
29
  static args = {};
47
30
  static description = "Displays the current overall status.";
@@ -56,7 +39,7 @@ class Status extends BaseCommand {
56
39
  let steps = [];
57
40
  if (!isLoggedIn) steps.push("$ shipthis login --email my.email@address.nowhere");
58
41
  if (!isGodotGame) steps.push("Run this command in a Godot project directory");
59
- if (!isShipThisConfigured) steps.push("$ shipthis game wizard --platform ios");
42
+ if (!isShipThisConfigured) steps.push("$ shipthis game wizard");
60
43
  if (steps.length === 0) steps = ["$ shipthis game status"];
61
44
  const statusProps = {
62
45
  title: "Status",
@@ -70,7 +53,6 @@ class Status extends BaseCommand {
70
53
  render(
71
54
  /* @__PURE__ */ jsxs(App, { children: [
72
55
  /* @__PURE__ */ jsx(StatusTable, { ...statusProps }),
73
- /* @__PURE__ */ jsx(Environment, {}),
74
56
  /* @__PURE__ */ jsx(NextSteps, { steps })
75
57
  ] })
76
58
  );
@@ -1,6 +1,6 @@
1
1
  import axios from 'axios';
2
2
  import * as fs from 'fs';
3
- import { o as getAuthedHeaders, p as API_URL } from './baseGameCommand-BeUNc6Wy.js';
3
+ import { o as getAuthedHeaders, p as API_URL } from './baseGameCommand-B3NbuvDu.js';
4
4
 
5
5
  async function exportCredential({ zipPath, credentialId, projectId }) {
6
6
  const headers = getAuthedHeaders();
@@ -1,6 +1,6 @@
1
1
  import axios from 'axios';
2
2
  import { promises } from 'fs';
3
- import { o as getAuthedHeaders, p as API_URL } from './baseGameCommand-BeUNc6Wy.js';
3
+ import { o as getAuthedHeaders, p as API_URL } from './baseGameCommand-B3NbuvDu.js';
4
4
 
5
5
  async function getNewImportTicket(projectId) {
6
6
  const url = projectId ? `${API_URL}/projects/${projectId}/credentials/import/url` : `${API_URL}/credentials/import/url`;
@@ -2,7 +2,7 @@ import crypto from 'crypto';
2
2
  import fs__default from 'fs';
3
3
  import readlineSync from 'readline-sync';
4
4
  import { promises } from 'node:readline';
5
- import { K as JobStatus, P as Platform, R as JobStage, S as LogLevel } from './baseGameCommand-BeUNc6Wy.js';
5
+ import { K as JobStatus, P as Platform, R as JobStage, S as LogLevel } from './baseGameCommand-B3NbuvDu.js';
6
6
  import 'react';
7
7
  import 'axios';
8
8
  import '@tanstack/react-query';
@@ -1,5 +1,5 @@
1
1
  import axios from 'axios';
2
- import { o as getAuthedHeaders, p as API_URL } from './baseGameCommand-BeUNc6Wy.js';
2
+ import { o as getAuthedHeaders, p as API_URL } from './baseGameCommand-B3NbuvDu.js';
3
3
 
4
4
  async function getNewUploadTicket(projectId = null) {
5
5
  const url = projectId ? `${API_URL}/projects/${projectId}/credentials/url` : `${API_URL}/credentials/url`;
@@ -1,5 +1,5 @@
1
1
  import { useQuery } from '@tanstack/react-query';
2
- import { k as App } from './baseGameCommand-BeUNc6Wy.js';
2
+ import { k as App } from './baseGameCommand-B3NbuvDu.js';
3
3
 
4
4
  const queryAppleApp = async ({ ctx, iosBundleId }) => {
5
5
  if (!iosBundleId) {
@@ -1,5 +1,5 @@
1
1
  import { useQuery } from '@tanstack/react-query';
2
- import { m as BundleId, u as getGodotProjectCapabilities, P as Platform, G as GODOT_CAPABILITIES, v as CapabilityType } from './baseGameCommand-BeUNc6Wy.js';
2
+ import { m as BundleId, u as getGodotProjectCapabilities, P as Platform, G as GODOT_CAPABILITIES, v as CapabilityType } from './baseGameCommand-B3NbuvDu.js';
3
3
 
4
4
  async function getBundleIdCapabilities(bundleId) {
5
5
  const current = await bundleId.getBundleIdCapabilitiesAsync();
@@ -1,9 +1,9 @@
1
1
  import axios from 'axios';
2
2
  import { useQuery } from '@tanstack/react-query';
3
- import { P as Platform, H as getShortDateTime, o as getAuthedHeaders, p as API_URL, I as castArrayObjectDates } from './baseGameCommand-BeUNc6Wy.js';
3
+ import { P as Platform, H as getShortDateTime, o as getAuthedHeaders, p as API_URL, I as castArrayObjectDates } from './baseGameCommand-B3NbuvDu.js';
4
4
  import { c as cacheKeys } from './cacheKeys-CShA-ZjE.js';
5
- import { g as getShortUUID, c as getPlatformName } from './index-CNME7EEo.js';
6
- import { g as getJobDetailsSummary } from './useJob-D8xNld5t.js';
5
+ import { g as getShortUUID, c as getPlatformName } from './index-ZHJdUrwJ.js';
6
+ import { g as getJobDetailsSummary } from './useJob-Bc9fdiyP.js';
7
7
 
8
8
  async function queryBuilds({ projectId, ...pageAndSortParams }) {
9
9
  try {
@@ -1,7 +1,7 @@
1
1
  import { useQuery } from '@tanstack/react-query';
2
2
  import { c as cacheKeys } from './cacheKeys-CShA-ZjE.js';
3
- import { K as JobStatus, H as getShortDateTime, L as getShortTimeDelta, M as getJob } from './baseGameCommand-BeUNc6Wy.js';
4
- import { g as getShortUUID, c as getPlatformName } from './index-CNME7EEo.js';
3
+ import { K as JobStatus, H as getShortDateTime, L as getShortTimeDelta, M as getJob } from './baseGameCommand-B3NbuvDu.js';
4
+ import { g as getShortUUID, c as getPlatformName } from './index-ZHJdUrwJ.js';
5
5
 
6
6
  function getJobDetailsSummary(jobDetails) {
7
7
  const semanticVersion = jobDetails?.semanticVersion || "N/A";
@@ -0,0 +1,14 @@
1
+ import { Help } from '@oclif/core';
2
+
3
+ class CustomHelp extends Help {
4
+ formatTopics(topics) {
5
+ const publicTopics = topics.filter((t) => t.name !== "internal");
6
+ return super.formatTopics(publicTopics);
7
+ }
8
+ // formatCommand is protected, so we need to override it to make it public
9
+ exposedFormatCommand(command) {
10
+ return super.formatCommand(command);
11
+ }
12
+ }
13
+
14
+ export { CustomHelp as default };
package/docs/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # CLI Reference
2
+
3
+ # Intro
4
+
5
+ ShipThis is a platform that helps you manage shipping your [Godot](https://godotengine.org/) Games to the app
6
+ stores. Currently it supports the Apple App Store however more platforms being developed.
7
+
8
+ This is all done with an easy to use command line tool called `shipthis`.
9
+
10
+ You can discover **ShipThis in less than 5 minutes** via our [Quick Start Guide](https://shipthis.cc/docs/quickstart).
11
+
12
+ ## Topics
13
+ - [apple](apple.md)
14
+ - [game](game.md)
15
+
16
+ ## Commands
17
+ - [dashboard](dashboard.md)
18
+ - [login](login.md)
19
+ - [status](status.md)
20
+ - [help](help.md)
@@ -0,0 +1,26 @@
1
+ # apple apiKey create
2
+
3
+ ## Description
4
+
5
+ Creates an App Store Connect API Key in your Apple Developer account.
6
+ Saves the private key in your ShipThis account.
7
+
8
+ ## Help Output
9
+
10
+ ```
11
+ USAGE
12
+ $ shipthis apple apiKey create [-f] [-q]
13
+
14
+ FLAGS
15
+ -f, --force
16
+ -q, --quiet Avoid output except for interactions and errors
17
+
18
+ DESCRIPTION
19
+ Creates an App Store Connect API Key in your Apple Developer account.
20
+ Saves the private key in your ShipThis account.
21
+
22
+ EXAMPLES
23
+ $ shipthis apple apiKey create
24
+
25
+ $ shipthis apple apiKey create --force
26
+ ```