build-in-public-bot
Version:
AI-powered CLI bot for automating build-in-public tweets with code screenshots
25 lines • 748 B
TypeScript
export interface ShellInfo {
name: string;
version?: string;
configFile: string;
executable: string;
}
export interface AliasConfig {
alias: string;
command: string;
description?: string;
}
export declare class ShellDetector {
private homeDir;
constructor();
detectCurrentShell(): ShellInfo | null;
detectInstalledShells(): ShellInfo[];
private getShellInfo;
private getShellVersion;
checkAliasExists(shell: ShellInfo, alias: string): boolean;
installAlias(shell: ShellInfo, config: AliasConfig): void;
private formatAlias;
removeAlias(shell: ShellInfo, alias: string): boolean;
getAliases(shell: ShellInfo): Map<string, string>;
}
//# sourceMappingURL=shell-detector.d.ts.map