8000 GitHub - danprates/pair-ai: Pair AI is a CLI tool that helps you in your routine tasks
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

danprates/pair-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pair AI

Pair AI is a CLI tool that helps you in your routine tasks.

Dependencies

Before running the CLI, you need to have the following dependencies installed:

  • Bun: See bun.sh for installation instructions.
  • Git: Normally installed by default on macOS and Linux.
  • OpenRouter API Key: You can get it here.

Now just export your OpenRouter API Key as an environment variable:

echo "export OPENROUTER_API_KEY=your-api-key" >> ~/.bashrc

Installation

To install dependencies for pair-ai, run:

bun install

Usage

To run the CLI during development, use:

bun run dev

To compile the CLI into an executable:

bun run compile

After compiling, the executable will be available at dist/pair and automatically copied to ~/.local/bin. You should then be able to run it directly from your terminal:

pair commit

Commands

  • pair commit: Commits changes using the Conventional Commits standard.
  • pair code-review {branch}: Analyzes the code in the specified branch and suggests improvements.
  • pair pull-request {branch}: Creates a pull request description based on the changes in the specified branch.

Scripts

  • dev: Runs the CLI in development mode with live reloading using bun run --watch src/pair.ts.
  • compile: Compiles the TypeScript code into a standalone executable using bun build.
  • test: Runs tests using bun test.
  • test:watch: Runs tests in watch mode using bun test --watch.

License

MIT

About

Pair AI is a CLI tool that helps you in your routine tasks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0