← 全部工具

abhijeetnardele24-hash/pushit-cli

热度 75 更新于 效率与自动化

Interactive GitHub workflow CLI

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

<div align="center" <h1PushIt CLI (v2.0)</h1 <p<bAdvanced Interactive GitHub Workflow and Developer Productivity Engine</b</p

<br /

If you find PushIt CLI helpful, please give it a Star on GitHub! </div

---

1. Overview

PushIt CLI (pi) is an enterprise-grade, terminal-native application designed to optimize and automate the modern developer's Git and GitHub workflows.

By abstracting complex Git operations and GitHub REST API interactions into a centralized, interactive command-line dashboard, PushIt CLI drastically reduces context switching. From algorithmic AI commit generation to granular interactive file staging and robust undo management, the CLI serves as a unified productivity tool for software engineering teams.

2. Core Capabilities (v2.0)

With the release of version 2.0, the codebase has been completely rewritten in strict TypeScript to ensure maximum type safety, speed, and long-term architectural stability.

Algorithmic Commit Generation (Gemini 1.5 Integration)

PushIt CLI eliminates the cognitive load of drafting commit messages by interfacing directly with the Google Gemini 1.5 Flash API. When invoked, the engine performs a complete analysis of your git diff --staged buffer and algorithmically synthesizes three conventional commit messages (feat, fix, chore, etc.) that accurately describe your code alterations. This ensures a pristine, highly readable Git history without manual overhead.

Zero-Config Local Mode

Authentication with GitHub is no longer a strict prerequisite. PushIt CLI gracefully degrades into a highly capable local Git manager. Developers can navigate branches, view chronological commit histories, and execute standard pushes securely on local repositories without ever exposing or configuring a GitHub API token.

Automated Repository Connection

If the CLI is executed within an uninitialized directory, its middleware detects the absence of a .git structure and intelligently pauses execution. It will automatically prompt the developer to initialize the directory and securely bind it to an existing remote GitHub repository URL. It handles the git init, branch synchronization, remote attachment, and fetch operations in the background.

Granular Interactive Staging

PushIt CLI replaces blunt git add . operations with a precise, multi-select terminal buffer. The CLI displays the current file tree status, allowing developers to meticulously curate their staging area by selectively including or excluding modified files using intuitive keyboard navigation.

---