rawi
Version:
Rawi (راوي) is the developer-friendly AI CLI that brings the power of 11 major AI providers directly to your terminal. With seamless shell integration, persistent conversations, and 200+ specialized prompt templates, Rawi transforms your command line into
4 lines • 1.67 kB
JavaScript
Object.defineProperty(exports, "__esModule", {value: true});/* Rawi (راوي) is the developer-friendly AI CLI that brings the power of 11 major AI providers directly to your terminal. With seamless shell integration, persistent conversations, and 200+ specialized prompt templates, Rawi transforms your command line into an intelligent development workspace. */
var _fs = require('fs');var _os = require('os');var _path = require('path');var c=()=>{if(process.platform==="win32")return"cmd";let e=process.env.SHELL;if(e){if(e.includes("bash"))return"bash";if(e.includes("zsh"))return"zsh";if(e.includes("fish"))return"fish"}return process.env.ZSH_NAME||process.env.ZSH_VERSION?"zsh":process.env.BASH_VERSION?"bash":process.env.FISH_VERSION?"fish":"bash"},u= exports.b =e=>{let s=_os.homedir.call(void 0, );switch(e){case"bash":return _fs.existsSync.call(void 0, _path.join.call(void 0, s,".bashrc"))?_path.join.call(void 0, s,".bashrc"):_fs.existsSync.call(void 0, _path.join.call(void 0, s,".bash_profile"))?_path.join.call(void 0, s,".bash_profile"):_path.join.call(void 0, s,".bashrc");case"zsh":return _path.join.call(void 0, s,".zshrc");case"fish":{let n=_path.join.call(void 0, s,".config","fish");return _path.join.call(void 0, n,"config.fish")}default:return null}};exports.a = c; exports.b = u;
/* Rawi (راوي) is the developer-friendly AI CLI that brings the power of 11 major AI providers directly to your terminal. With seamless shell integration, persistent conversations, and 200+ specialized prompt templates, Rawi transforms your command line into an intelligent development workspace. */
//# sourceMappingURL=chunk-OWJR5FYZ.cjs.map
;