UNPKG

@git.zone/cli

Version:

A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.

25 lines (24 loc) 683 B
/** * Check if a port is available */ export declare const isPortAvailable: (port: number) => Promise<boolean>; /** * Get a random available port between 20000 and 30000 */ export declare const getRandomAvailablePort: () => Promise<number>; /** * Get the project name from package.json or directory */ export declare const getProjectName: () => string; /** * Print a header with decorative lines */ export declare const printHeader: (title: string) => void; /** * Format bytes to human readable string */ export declare const formatBytes: (bytes: number) => string; /** * Get the local network IP address */ export declare const getLocalNetworkIp: () => Promise<string>;