⚡ Blazing Fast Native Rust CLI · Zero Dependencies

Fast, Idempotent GitHub Issue Importer

Import structured issues from YAML/JSON files and remote repos into GitHub with full idempotency tracking, milestone mapping, labels, and assignees.

gh-issue-import — terminal
# 1. Install via Cargo or download binary
$ cargo install --git https://github.com/SpaceCorps/Github-Issue-Importer --locked

# 2. Authenticate securely with GitHub Personal Access Token
$ gh-issue-import login
Opening GitHub token page in your browser...
✓ Successfully logged in as octocat to account 'default'.

# 3. Validate your issue file locally
$ gh-issue-import validate -f issues.yaml
status: valid · issuesCount: 2 · labels: 3

# 4. Import issues idempotently into your GitHub repository
$ gh-issue-import import issues.yaml --repo owner/repo -a default
status: ok · total: 2 · imported: 2 · skipped: 0

Built for Speed, Safety & Agentic Automation

Designed from the ground up for developer efficiency and autonomous AI workflows.

⚡

Native Rust Performance

Starts in under 3 milliseconds with zero runtime dependencies. Standalone static binaries compiled with full LTO optimization.

🛡️

Idempotency by Default

Tracks imported issues in import-log.json. Re-running imports skips already processed items without duplicating issues.

🏷️

Milestones, Labels & Assignees

Resolves milestones by title or number, tags custom labels, and assigns teammates automatically during import.

🤖

AI Agent Native

Built-in agent-readme manual, structured JSON mode with --json, and machine-readable error envelopes on stderr.

🔑

OS Keystore Security

Tokens never touch plaintext disk files. Integrates directly with macOS Keychain, Linux Secret Service, and Windows DPAPI.

🏢

Multi-Account Scoping

Enforces explicit --account <name> targeting, preventing catastrophic accidents across personal, client, or enterprise organizations.

Command Reference

Straightforward commands for validating, previewing, and importing issues.

Command Description Example
import Import issues from YAML/JSON file or config into GitHub repo or inbox gh-issue-import import issues.yaml --repo owner/repo -a work
validate Validate file syntax, required fields, and milestone existence gh-issue-import validate -f issues.yaml -r owner/repo -a work
login Authenticate with GitHub PAT and save to native OS keystore gh-issue-import login work --token ghp_...
accounts list List configured accounts and verify token validity with GitHub gh-issue-import accounts list --check
accounts test Verify account connectivity and check for identity drift gh-issue-import accounts test work
accounts remove Remove account from config and clear token from OS keystore gh-issue-import accounts remove work --yes
agent-readme Print operating instructions and rules for AI agents gh-issue-import agent-readme --json