UNPKG

clixion

Version:

A flexible framework for building CLI applications

14 lines (12 loc) 754 B
declare const isPackageManagerInstalled: (packageManager: string) => Promise<unknown>; declare function $(cmd: string, args: string[], cwd: string): { abort: () => Promise<void>; install: Promise<boolean>; }; declare const $pm: (args: string | string[], cwd?: string, env?: NodeJS.ProcessEnv) => Promise<unknown>; declare const $pmInstall: (cwd: string) => Promise<void>; declare const $pmRun: (script: string, cwd: string) => Promise<void>; declare const $pmExec: (command: string, cwd: string) => Promise<void>; declare const $pmDlx: (binary: string, cwd: string) => Promise<void>; declare const $pmX: (executable: string, cwd: string) => Promise<void>; export { $, $pm, $pmDlx, $pmExec, $pmInstall, $pmRun, $pmX, isPackageManagerInstalled };