Skip to main content

No project description provided

Project description

Ginear 🍸

PyPI version

Ginear is the perfect blend of Git and Linear, creating a seamless integration that allows you to attach or create Linear issues with automatic branch switching.

ginear

Prerequisites

Before using Ginear, make sure you have the following prerequisites installed:

  • fzf: Ginear relies on this utility for fuzzy searching.
brew install fzf

Installation

You can install Ginear using pipx (recommended for CLI tools):

pipx install ginear

Or using pip:

pip install ginear

Getting Started

To start using Ginear, simply run the following command:

gin

On your initial run, Ginear will onboard you to set the correct environment variables for your project. These variables are stored in a .ginear config file in your $HOME, which Ginear will use to provide a tailored integration experience. This configuration ensures that Ginear seamlessly connects Git and Linear for your specific project.

Command Overview

Ginear offers the following commands to enhance your workflow:

gin

The gin command allows you to attach to an existing Linear issue or create a new one. When you run gin, Ginear will prompt you to select an existing issue from the list or create a new one.

gin commit

Use gin commit to create a new Linear issue with automatic branch switching and accompanying git commit.

Pass --title/-t (and optional --description/-d) to skip the interactive prompt. Add --json to print the created issue as JSON.

gin create

Use gin create to create a new Linear issue directly from the command line. Ginear will guide you through the issue creation process and automatically handle branch switching if necessary.

Non-interactive flags:

  • --title, -t — skip the title prompt
  • --description, -d — description text
  • --no-switch — do not switch to the issue's branch
  • --json — print the created issue as JSON (useful for scripts and AI agents)

gin attach <identifier>

Attach to an existing Linear issue by identifier (e.g. ENG-123) and switch to its branch. Supports --no-switch and --json.

gin search [query]

Search Linear issues by title (substring, case-insensitive). Non-interactive — intended for scripts and AI agents.

  • --limit, -n — max results (default 25)
  • --json — print results as JSON

gin project

With gin project, you can switch to a different Linear project within your organization. This command allows you to change your project context, and Ginear will adapt to the selected project's settings.

gin team

The gin team command allows you to switch between different teams within your organization. When you run gin team, Ginear will prompt you to select the team you want to work with from a list of available options.

Scripting / AI usage

The search, attach, create --title ..., and commit --title ... commands never prompt, making them safe to call from scripts or AI coding agents (e.g. Claude Code). Use --json for structured output:

# Find candidate tickets
gin search "flaky login" --json

# Attach to an existing ticket without switching branch
gin attach ENG-123 --no-switch --json

# Create a ticket without switching branch
gin create -t "Refactor auth middleware" -d "Extracts shared logic" --no-switch --json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ginear-0.2.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ginear-0.2.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file ginear-0.2.0.tar.gz.

File metadata

  • Download URL: ginear-0.2.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.14.4 Darwin/25.2.0

File hashes

Hashes for ginear-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5c690d4c75599591a1afdc6644e960c6f53e29910d0aff815313944835436d1f
MD5 77b209e34017c52b0cce82429d05cac3
BLAKE2b-256 06e8f24a5cfbc2365b859df3bcf81a45c573cc29c190d2cd653224346003e69e

See more details on using hashes here.

File details

Details for the file ginear-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ginear-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.14.4 Darwin/25.2.0

File hashes

Hashes for ginear-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 929870ff66be30427af1951fce956ee3a416794651ad08a5ccb50c0a31cbfb94
MD5 d4e9abfeb054d17fcd863b37d87bafdb
BLAKE2b-256 03b5573d6355cbe62d42e54c2371c5ad08326d1cb38fbdc879f5319eb70daf8c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page