@nu-art/commando
Version:
Shell command execution framework with interactive sessions, CLI parameter resolution, and plugin system for building and executing shell scripts programmatically
43 lines (42 loc) • 1.42 kB
TypeScript
import { BaseCommando } from '../core/BaseCommando.js';
import { Commando_Basic } from './basic.js';
import { Commando_Programming } from './programming.js';
import { Commando_NVM } from './nvm.js';
declare const Super: import("@nu-art/ts-common").Constructor<BaseCommando & Commando_Programming & Commando_Basic & Commando_NVM>;
/**
* PNPM package manager plugin for Commando.
*
* Provides PNPM operations:
* - Install PNPM
* - Get PNPM version
* - Install packages (with store prune and force flags)
*
* Extends Commando_NVM, Commando_Programming, and Commando_Basic (merged).
* Requires NVM for Node.js version management.
*/
export declare class Commando_PNPM extends Super {
/**
* Installs packages using PNPM.
*
* Prunes the store, then installs with force flag and no frozen lockfile.
*
* @returns This instance for method chaining
*/
installPackages(): Promise<this>;
/**
* Installs PNPM by downloading and executing the install script.
*
* @param version - PNPM version to install
* @returns This instance for method chaining
*/
install(version: string): Promise<this>;
/**
* Gets the installed PNPM version.
*
* Only executes if PNPM is available (checks with `command -v pnpm`).
*
* @returns Promise resolving to PNPM version string (trimmed)
*/
getVersion(): Promise<string>;
}
export {};