@gpc-cli/cli 0.9.83 → 0.9.84
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.
- package/README.md +1 -1
- package/dist/bin.js +2 -2
- package/dist/{chunk-7UYPZIQZ.js → chunk-U2TLKEOQ.js} +9 -9
- package/dist/{config-UHHSRFXL.js → config-VLVI3UYG.js} +2 -2
- package/dist/{doctor-4ZWCSYGF.js → doctor-AFKCVNST.js} +2 -2
- package/dist/{feedback-HRSYQTUV.js → feedback-LQGBKIVJ.js} +2 -2
- package/dist/generated/docs-bundle.json +1 -1
- package/dist/index.js +1 -1
- package/dist/{one-time-products-HHCHEDRJ.js → one-time-products-3QH5IKOZ.js} +58 -36
- package/dist/one-time-products-3QH5IKOZ.js.map +1 -0
- package/dist/{subscriptions-KEF7KIST.js → subscriptions-W67I25XY.js} +35 -13
- package/dist/subscriptions-W67I25XY.js.map +1 -0
- package/dist/{update-ROEAKMQD.js → update-PE4PZLOX.js} +2 -2
- package/dist/{version-X3RJKLJW.js → version-LGTHQ3SD.js} +2 -2
- package/package.json +7 -7
- package/dist/one-time-products-HHCHEDRJ.js.map +0 -1
- package/dist/subscriptions-KEF7KIST.js.map +0 -1
- /package/dist/{chunk-7UYPZIQZ.js.map → chunk-U2TLKEOQ.js.map} +0 -0
- /package/dist/{config-UHHSRFXL.js.map → config-VLVI3UYG.js.map} +0 -0
- /package/dist/{doctor-4ZWCSYGF.js.map → doctor-AFKCVNST.js.map} +0 -0
- /package/dist/{feedback-HRSYQTUV.js.map → feedback-LQGBKIVJ.js.map} +0 -0
- /package/dist/{update-ROEAKMQD.js.map → update-PE4PZLOX.js.map} +0 -0
- /package/dist/{version-X3RJKLJW.js.map → version-LGTHQ3SD.js.map} +0 -0
package/README.md
CHANGED
|
@@ -97,7 +97,7 @@ curl -fsSL https://raw.githubusercontent.com/yasserstudio/gpc/main/scripts/insta
|
|
|
97
97
|
- [Commands reference](https://yasserstudio.github.io/gpc/commands/)
|
|
98
98
|
- [CI/CD recipes](https://yasserstudio.github.io/gpc/ci-cd/)
|
|
99
99
|
|
|
100
|
-
Free to use. 2,
|
|
100
|
+
Free to use. 2,380 tests. 90%+ coverage. Every write operation supports `--dry-run`.
|
|
101
101
|
|
|
102
102
|
## Licensing
|
|
103
103
|
|
package/dist/bin.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createProgram,
|
|
4
4
|
handleCliError,
|
|
5
5
|
loadPlugins
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-U2TLKEOQ.js";
|
|
7
7
|
import {
|
|
8
8
|
checkForUpdate,
|
|
9
9
|
formatUpdateNotification
|
|
@@ -57,7 +57,7 @@ if (!_isJsonMode && !_isQuiet && !_isSetupCommand && !existsSync(getUserConfigPa
|
|
|
57
57
|
}
|
|
58
58
|
await setupNetworking();
|
|
59
59
|
initAudit(getConfigDir());
|
|
60
|
-
var currentVersion = "0.9.
|
|
60
|
+
var currentVersion = "0.9.84";
|
|
61
61
|
var isUpdateCommand = process.argv[2] === "update";
|
|
62
62
|
var isCompletionProvider = process.argv[2] === "__complete";
|
|
63
63
|
var updateCheckPromise = isUpdateCommand || isCompletionProvider ? Promise.resolve(null) : checkForUpdate(currentVersion);
|
|
@@ -59,19 +59,19 @@ function registerPluginCommands(program, manager) {
|
|
|
59
59
|
import { Command } from "commander";
|
|
60
60
|
async function createProgram(pluginManager) {
|
|
61
61
|
const program = new Command();
|
|
62
|
-
program.name("gpc").description("GPC \u2014 Google Play Console CLI").version("0.9.
|
|
62
|
+
program.name("gpc").description("GPC \u2014 Google Play Console CLI").version("0.9.84", "-V, --version").option("-o, --output <format>", "Output format: table, json, yaml, markdown, csv, tsv, junit").option("-v, --verbose", "Enable debug logging").option("-q, --quiet", "Suppress non-essential output").option("-a, --app <package>", "App package name").option("-p, --profile <name>", "Auth profile name").option("--no-color", "Disable colored output").option("--no-interactive", "Disable interactive prompts").option("-y, --yes", "Skip confirmation prompts").option("--dry-run", "Preview changes without executing").option("--notify [target]", "Send webhook notification on completion (slack, discord, custom)").option("--ci", "Force CI mode (JSON output, no prompts, strict exit codes)").option("-j, --json", "Shorthand for --output json").option("--apps <csv>", "Comma-separated package names for multi-app operations").showSuggestionAfterError(false);
|
|
63
63
|
const commandLoaders = {
|
|
64
64
|
auth: async () => {
|
|
65
65
|
(await import("./auth-C6K563I5.js")).registerAuthCommands(program);
|
|
66
66
|
},
|
|
67
67
|
config: async () => {
|
|
68
|
-
(await import("./config-
|
|
68
|
+
(await import("./config-VLVI3UYG.js")).registerConfigCommands(program);
|
|
69
69
|
},
|
|
70
70
|
doctor: async () => {
|
|
71
|
-
(await import("./doctor-
|
|
71
|
+
(await import("./doctor-AFKCVNST.js")).registerDoctorCommand(program);
|
|
72
72
|
},
|
|
73
73
|
update: async () => {
|
|
74
|
-
(await import("./update-
|
|
74
|
+
(await import("./update-PE4PZLOX.js")).registerUpdateCommand(program);
|
|
75
75
|
},
|
|
76
76
|
docs: async () => {
|
|
77
77
|
(await import("./docs-ADZRT76Y.js")).registerDocsCommand(program);
|
|
@@ -111,7 +111,7 @@ async function createProgram(pluginManager) {
|
|
|
111
111
|
(await import("./vitals-QPHS6QFH.js")).registerVitalsCommands(program);
|
|
112
112
|
},
|
|
113
113
|
subscriptions: async () => {
|
|
114
|
-
(await import("./subscriptions-
|
|
114
|
+
(await import("./subscriptions-W67I25XY.js")).registerSubscriptionsCommands(program);
|
|
115
115
|
},
|
|
116
116
|
iap: async () => {
|
|
117
117
|
(await import("./iap-BMXWA22W.js")).registerIapCommands(program);
|
|
@@ -152,7 +152,7 @@ async function createProgram(pluginManager) {
|
|
|
152
152
|
(await import("./device-tiers-EKU2TUPW.js")).registerDeviceTiersCommands(program);
|
|
153
153
|
},
|
|
154
154
|
"one-time-products": async () => {
|
|
155
|
-
(await import("./one-time-products-
|
|
155
|
+
(await import("./one-time-products-3QH5IKOZ.js")).registerOneTimeProductsCommands(program);
|
|
156
156
|
},
|
|
157
157
|
"internal-sharing": async () => {
|
|
158
158
|
(await import("./internal-sharing-BC76IRJG.js")).registerInternalSharingCommands(program);
|
|
@@ -191,13 +191,13 @@ async function createProgram(pluginManager) {
|
|
|
191
191
|
(await import("./verify-O2PSBTIC.js")).registerVerifyCommand(program);
|
|
192
192
|
},
|
|
193
193
|
version: async () => {
|
|
194
|
-
(await import("./version-
|
|
194
|
+
(await import("./version-LGTHQ3SD.js")).registerVersionCommand(program);
|
|
195
195
|
},
|
|
196
196
|
cache: async () => {
|
|
197
197
|
(await import("./cache-FGNP7Y37.js")).registerCacheCommand(program);
|
|
198
198
|
},
|
|
199
199
|
feedback: async () => {
|
|
200
|
-
(await import("./feedback-
|
|
200
|
+
(await import("./feedback-LQGBKIVJ.js")).registerFeedbackCommand(program);
|
|
201
201
|
},
|
|
202
202
|
setup: async () => {
|
|
203
203
|
(await import("./setup-XC4X323X.js")).registerSetupCommand(program);
|
|
@@ -471,4 +471,4 @@ export {
|
|
|
471
471
|
createProgram,
|
|
472
472
|
handleCliError
|
|
473
473
|
};
|
|
474
|
-
//# sourceMappingURL=chunk-
|
|
474
|
+
//# sourceMappingURL=chunk-U2TLKEOQ.js.map
|
|
@@ -78,7 +78,7 @@ Configuration file created: ${path}`);
|
|
|
78
78
|
});
|
|
79
79
|
console.log("\nVerifying setup...");
|
|
80
80
|
try {
|
|
81
|
-
const { registerDoctorCommand } = await import("./doctor-
|
|
81
|
+
const { registerDoctorCommand } = await import("./doctor-AFKCVNST.js");
|
|
82
82
|
const { Command } = await import("commander");
|
|
83
83
|
const doctorProgram = new Command();
|
|
84
84
|
doctorProgram.option("-o, --output <format>", "Output format").option("-j, --json", "JSON mode");
|
|
@@ -107,4 +107,4 @@ Configuration file created: ${path}`);
|
|
|
107
107
|
export {
|
|
108
108
|
registerConfigCommands
|
|
109
109
|
};
|
|
110
|
-
//# sourceMappingURL=config-
|
|
110
|
+
//# sourceMappingURL=config-VLVI3UYG.js.map
|
|
@@ -144,7 +144,7 @@ function checkCiEnvironment() {
|
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
async function checkGpcVersion() {
|
|
147
|
-
const currentVersion = "0.9.
|
|
147
|
+
const currentVersion = "0.9.84";
|
|
148
148
|
if (currentVersion === "0.0.0") {
|
|
149
149
|
return { name: "version", status: "info", message: "GPC development build" };
|
|
150
150
|
}
|
|
@@ -1138,4 +1138,4 @@ export {
|
|
|
1138
1138
|
checkVerificationDeadline,
|
|
1139
1139
|
registerDoctorCommand
|
|
1140
1140
|
};
|
|
1141
|
-
//# sourceMappingURL=doctor-
|
|
1141
|
+
//# sourceMappingURL=doctor-AFKCVNST.js.map
|
|
@@ -9,7 +9,7 @@ import { execFile } from "child_process";
|
|
|
9
9
|
import { listAuditEvents } from "@gpc-cli/core";
|
|
10
10
|
function registerFeedbackCommand(program) {
|
|
11
11
|
program.command("feedback").description("Open a pre-filled GitHub issue with system diagnostics").option("--title <title>", "Issue title").option("--print", "Print the report to stdout instead of opening a browser").action(async (opts) => {
|
|
12
|
-
const version = "0.9.
|
|
12
|
+
const version = "0.9.84";
|
|
13
13
|
let lastCommand = "";
|
|
14
14
|
try {
|
|
15
15
|
const events = await listAuditEvents({ limit: 3 });
|
|
@@ -67,4 +67,4 @@ ${url}`);
|
|
|
67
67
|
export {
|
|
68
68
|
registerFeedbackCommand
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=feedback-
|
|
70
|
+
//# sourceMappingURL=feedback-LQGBKIVJ.js.map
|