UNPKG

@agility/cli

Version:

Agility CLI for working with your content. (Public Beta)

24 lines (23 loc) 1.03 kB
export * from "../generators"; export * from "../content"; export * from "../assets"; export * from "../loggers"; export * from "./instance-lister"; export * from "../pushers/batch-polling"; export * from "./link-type-detector"; export { GuidDataLoader, GuidEntities, SourceEntities } from "../pushers/guid-data-loader"; export declare function prettyException(error: any): string; export declare function logBatchError(error: any, context: string): void; export { pollBatchUntilComplete, extractBatchResults } from "../pushers/batch-polling"; /** * Get package version from package.json * Tries to find package.json in multiple locations: * 1. Current working directory * 2. CLI installation directory (where this code is running from) * 3. Falls back to 'unknown' if not found */ export declare function getPackageVersion(): string; /** * Generate a formatted header with package version info for log files */ export declare function generateLogHeader(operationType: string, additionalInfo?: Record<string, any>): string;