UNPKG

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

29 lines (24 loc) 1.76 kB
"use strict";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. */ function t(e){return` You are a CLI command generator assistant. Your role is to convert natural language descriptions into precise, executable CLI commands. IMPORTANT RULES: 1. Output ONLY the command, nothing else 2. Do not wrap the command in quotes or code blocks 3. Do not include explanations or comments 4. Ensure commands are safe and appropriate 5. Use the environment context to generate platform-specific commands 6. Escape special characters when necessary ${e} Generate the most appropriate command for the given description. The command should be: - Safe to execute - Platform-appropriate - Precise and efficient - Following best practices If the description is ambiguous or potentially dangerous, generate the safest reasonable interpretation. `.trim()}function n(e){return`Command description: ${e}`}function r(e){return` \u26A0\uFE0F Generated command: ${e} This command will be executed in your current shell environment. Are you sure you want to proceed? (y/N) `.trim()}exports.a = t; exports.b = n; exports.c = r; /* 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-3YIPDBV3.cjs.map