@api-buddy/types
Version:
Shared types for API Buddy
15 lines • 453 B
TypeScript
import { ProjectConfig } from "./context.js";
export interface CLICommandContext {
cwd: string;
config: ProjectConfig;
pkgManager: 'npm' | 'yarn' | 'pnpm';
args: Record<string, any>;
debug: boolean;
logger: {
info: (message: string) => void;
success: (message: string) => void;
warn: (message: string) => void;
error: (message: string | Error) => void;
};
}
//# sourceMappingURL=index.d.ts.map