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
6 lines • 1.99 kB
JavaScript
/* 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. */
import{a as i}from"./chunk-QVLIXKPH.js";import o from"chalk";import{Command as t}from"commander";var n=()=>{let l=new t("completion");return l.description([o.bold("Setup shell completion for rawi."),"",o.gray("Copies completion scripts to ~/.rawi/completion/ and optionally"),o.gray("installs them to your shell profile for automatic loading."),"\u2500".repeat(80)].join(`
`)).option("-s, --shell <shell>",o.white("Shell type (bash, zsh, fish, or auto-detect)"),"auto").option("--install",o.white("Install completion script to shell profile"),!1).addHelpText("after",["",o.yellow("Examples:"),""," # Copy completion for current shell"," $ rawi completion",""," # Copy for specific shell"," $ rawi completion --shell bash"," $ rawi completion --shell zsh"," $ rawi completion --shell fish",""," # Copy and install to shell profile automatically"," $ rawi completion --install"," $ rawi completion --shell bash --install",""," # Files are copied to:"," ~/.rawi/completion/rawi-completion.bash"," ~/.rawi/completion/rawi-completion.zsh"," ~/.rawi/completion/rawi-completion.fish","",o.gray("After installation, restart your shell or run:"),o.gray(" source ~/.bashrc # bash"),o.gray(" source ~/.zshrc # zsh"),o.gray(" source ~/.config/fish/config.fish # fish")].join(`
`)).action(async e=>{await i(e)}),l};export{n as a};
/* 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-UQKH3JL4.js.map