UNPKG

@nu-art/commando

Version:

Shell command execution framework with interactive sessions, CLI parameter resolution, and plugin system for building and executing shell scripts programmatically

42 lines (41 loc) 1.55 kB
import { BaseCommando } from '../core/BaseCommando.js'; import { Commando_Programming } from './programming.js'; import { Commando_Basic } from './basic.js'; declare const Super: import("@nu-art/ts-common").Constructor<BaseCommando & Commando_Programming & Commando_Basic>; /** * Python 3 plugin for Commando. * * Provides Python virtual environment operations: * - Create virtual environments * - Activate virtual environments * - Install requirements from requirements.txt * * Extends Commando_Programming and Commando_Basic (merged). */ export declare class Commando_Python3 extends Super { /** * Activates a Python virtual environment. * * Sources the activation script for the virtual environment. * * @param venvFolder - Virtual environment folder path (default: '.venv') * @returns This instance for method chaining */ sourceVenv(venvFolder?: string): this; /** * Creates a Python virtual environment. * * @param venvFolder - Virtual environment folder path (default: '.venv') * @returns This instance for method chaining * @throws Exception if virtual environment creation fails */ installVenv(venvFolder?: string): Promise<this>; /** * Installs Python packages from a requirements file. * * @param pathToRequirementsFile - Path to requirements.txt file (default: './requirements.txt') * @returns This instance for method chaining */ installRequirements(pathToRequirementsFile?: string): Promise<this>; } export {};