@mittwald/cli 1.4.1 → 1.4.2
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.
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../lib/basecommands/ExecRenderBaseCommand.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AppInstallationResult, AppInstaller } from "../../../lib/resources/app/Installer.js";
|
|
4
|
+
export declare const phpWorkerInstaller: AppInstaller<"site-title" | "entrypoint">;
|
|
5
|
+
export default class InstallPhpWorker extends ExecRenderBaseCommand<typeof InstallPhpWorker, AppInstallationResult> {
|
|
6
|
+
static description: string;
|
|
7
|
+
static flags: import("@oclif/core/interfaces").FlagInput<import("../../../lib/resources/app/flags.js").RelevantFlags<readonly ("entrypoint" | ("wait" | "wait-timeout" | "site-title"))[]>>;
|
|
8
|
+
protected exec(): Promise<{
|
|
9
|
+
appInstallationId: string;
|
|
10
|
+
}>;
|
|
11
|
+
protected render(result: AppInstallationResult): React.ReactNode;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../lib/basecommands/ExecRenderBaseCommand.js";
|
|
2
|
+
import { AppInstaller, } from "../../../lib/resources/app/Installer.js";
|
|
3
|
+
export const phpWorkerInstaller = new AppInstaller("fcac178a-e606-4460-a5fd-b3ad0ae7a3cc", "PHP worker", ["entrypoint", "site-title"]);
|
|
4
|
+
export default class InstallPhpWorker extends ExecRenderBaseCommand {
|
|
5
|
+
static description = phpWorkerInstaller.description;
|
|
6
|
+
static flags = phpWorkerInstaller.flags;
|
|
7
|
+
async exec() {
|
|
8
|
+
return phpWorkerInstaller.exec(this.apiClient, this.args, this.flags, this.config);
|
|
9
|
+
}
|
|
10
|
+
render(result) {
|
|
11
|
+
return phpWorkerInstaller.render(result, this.flags);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -8,5 +8,5 @@ export declare abstract class FlagSupportedSetup<TFlags extends FlagInput, TSett
|
|
|
8
8
|
protected constructor(flagsInput: TFlags, settings: TSettings);
|
|
9
9
|
getSetup(flags: InferredFlags<TFlags>): TSettings & TSetupObject;
|
|
10
10
|
protected abstract getFlagsOutput(flags: InferredFlags<TFlags>): TSetupObject;
|
|
11
|
-
static build: <
|
|
11
|
+
static build: <TFlags extends FlagInput, TSettings, TOutput>(flags: TFlags_1, defaultSettings: TSettings_1, buildFlagsOutput: (flags: InferredFlags<TFlags_1>, settings: TSettings_1) => TOutput) => Class<FlagSupportedSetup<TFlags_1, TSettings_1, TOutput>, [Partial<TSettings_1>] | []>;
|
|
12
12
|
}
|