@marginfront/code-cost-clarity 0.6.0 → 0.6.1
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/dist/cli.d.ts +6 -1
- package/dist/cli.js +1756 -1665
- package/package.json +1 -1
package/dist/cli.d.ts
CHANGED
|
@@ -87,8 +87,13 @@ interface UninstallDeps {
|
|
|
87
87
|
purgeConfigDir?: () => void;
|
|
88
88
|
findZshrcLines?: () => ZshrcSourceLineResult;
|
|
89
89
|
unsetDesktopEnv?: () => void;
|
|
90
|
+
readForwarderPid?: () => number | null;
|
|
91
|
+
isForwarderAlive?: (pid: number) => boolean;
|
|
92
|
+
signalForwarder?: (pid: number, signal: "SIGTERM" | "SIGKILL") => void;
|
|
93
|
+
sleep?: (ms: number) => Promise<void>;
|
|
94
|
+
now?: () => number;
|
|
90
95
|
log?: (message: string) => void;
|
|
91
96
|
}
|
|
92
|
-
declare function cmdUninstall(purge: boolean, deps?: UninstallDeps): number
|
|
97
|
+
declare function cmdUninstall(purge: boolean, deps?: UninstallDeps): Promise<number>;
|
|
93
98
|
|
|
94
99
|
export { type InitDeps, type PromptIO, type StartDeps, type StopDeps, type UninstallDeps, cmdInit, cmdRun, cmdStart, cmdUninstall, promptVisible, promptYesNo, runningForwarderPid, stopForwarderThenStopCollector };
|