{"id":31465560,"url":"https://github.com/adiksondev/linear-cli","last_synced_at":"2026-03-07T01:34:20.329Z","repository":{"id":313156974,"uuid":"1050201820","full_name":"AdiKsOnDev/linear-cli","owner":"AdiKsOnDev","description":"CLI program for Linear Issue Tracker automation available on PyPI and AUR","archived":false,"fork":false,"pushed_at":"2025-12-06T07:26:55.000Z","size":6791,"stargazers_count":8,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-24T07:19:46.400Z","etag":null,"topics":["api","aur","automation","cli","linear","pypi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AdiKsOnDev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-04T05:14:34.000Z","updated_at":"2026-02-22T09:36:20.000Z","dependencies_parsed_at":"2025-09-08T13:32:28.223Z","dependency_job_id":null,"html_url":"https://github.com/AdiKsOnDev/linear-cli","commit_stats":null,"previous_names":["adiksondev/linearator","adiksondev/linear-cli"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/AdiKsOnDev/linear-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdiKsOnDev%2Flinear-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdiKsOnDev%2Flinear-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdiKsOnDev%2Flinear-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdiKsOnDev%2Flinear-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdiKsOnDev","download_url":"https://codeload.github.com/AdiKsOnDev/linear-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdiKsOnDev%2Flinear-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30205166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","aur","automation","cli","linear","pypi"],"created_at":"2025-10-01T17:48:18.237Z","updated_at":"2026-03-07T01:34:19.924Z","avatar_url":"https://github.com/AdiKsOnDev.png","language":"Python","readme":"# Linearator\n\nA comprehensive command-line interface for Linear issue management, enabling efficient project workflow automation and team collaboration through the Linear API.\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Key Features](#key-features)\n- [Installation](#installation)\n- [Quick Start](#quick-start)\n- [Command Reference](#command-reference)\n- [Configuration](#configuration)\n- [Output Formats](#output-formats)\n- [Advanced Usage](#advanced-usage)\n- [Integration Examples](#integration-examples)\n- [Project Structure](#project-structure)\n- [Development](#development)\n- [Requirements](#requirements)\n- [License](#license)\n- [Support](#support)\n- [Changelog](#changelog)\n\n## Overview\n\nLinearator is a powerful CLI tool that streamlines Linear project management workflows by providing command-line access to core Linear functionality. Built with Python and designed for developers, project managers, and teams who prefer terminal-based workflows or need to automate Linear operations.\n\n## Key Features\n\n### Core Issue Management\n- **Full CRUD Operations**: Create, read, update, and delete Linear issues\n- **Advanced Filtering**: Filter issues by status, assignee, labels, teams, and custom criteria\n- **Bulk Operations**: Perform batch updates on multiple issues simultaneously\n- **Status Management**: Update issue states, priorities, and assignments\n\n### Project Management\n- **Project Operations**: List projects, view project details, and track project health\n- **Project Updates**: Create and manage project status updates with health indicators\n- **Project Timeline**: View project update history and track progress over time\n- **Smart Lookup**: Reference projects by both ID and human-readable names\n\n### Team \u0026 Label Management\n- **Team Operations**: List teams, view team details, and manage team-specific configurations\n- **Label Management**: Create, update, and apply labels to organize issues effectively\n- **User Management**: View team members and workload analysis\n\n### Advanced Capabilities\n- **Powerful Search**: Full-text search with advanced filtering capabilities\n- **Interactive Mode**: Guided issue creation and management workflows\n- **Multiple Output Formats**: JSON, table, and YAML formatting options\n- **Shell Integration**: Command completion for efficient usage\n\n### Authentication \u0026 Security\n- **OAuth Flow**: Secure authentication with Linear's OAuth system\n- **API Key Support**: Alternative authentication method for automation\n- **Credential Management**: Secure storage using system keyring\n- **Token Refresh**: Automatic token renewal and session management\n\n## Installation\n\n### From PyPI (Recommended)\n\n```bash\npip install linearator\n```\n\n### From AUR\n\n```bash\nparu -S linear-cli\n\n# Or:\nyay -S linear-cli\n```\n\n### From Source\n\n```bash\ngit clone https://github.com/AdiKsOnDev/linearator.git\ncd linearator\npip install -e .\n```\n\n### Development Installation\n\n```bash\ngit clone https://github.com/AdiKsOnDev/linearator.git\ncd linearator\nmake install-dev\n```\n\n## Quick Start\n\n### 1. Authentication\n\nFirst, authenticate with Linear:\n\n```bash\n# OAuth flow (recommended)\nlinear auth login\n\n# Or use API key\nlinear auth login --api-key YOUR_API_KEY\n\n# Or set environment variable\nexport LINEAR_API_KEY=YOUR_API_KEY\n```\n\n### 2. Basic Usage\n\n```bash\n# List your issues\nlinear issue list\n\n# Create a new issue\nlinear issue create --title \"Bug fix\" --description \"Fix login error\" --team \"ENG\"\n\n# Update issue status\nlinear issue update ISS-123 --status \"In Progress\"\n\n# Search issues\nlinear search \"login bug\" --status \"Todo\" --assignee \"john@company.com\"\n```\n\n### 3. Team and Project Operations\n\n```bash\n# List available teams\nlinear team list\n\n# View team details\nlinear team show \"Engineering\"\n\n# List projects\nlinear project list\n\n# View project details\nlinear project show \"My Project\"\n```\n\n## Command Reference\n\n### Issue Commands\n\n```bash\n# Create issues\nlinear issue create --title \"Title\" --description \"Description\" --team \"TEAM\"\n\n# List and filter issues\nlinear issue list --status \"In Progress\" --assignee \"user@email.com\"\nlinear issue list --labels \"bug,urgent\" --team \"Backend\"\n\n# Update issues\nlinear issue update ISS-123 --status \"Done\" --assignee \"user@email.com\"\nlinear issue update ISS-123 --labels \"critical\" --priority \"High\"\n\n# Show issue details\nlinear issue show ISS-123\n\n# Delete issues\nlinear issue delete ISS-123\n```\n\n### Bulk Operations\n\n```bash\n# Bulk status updates\nlinear bulk update-state --status \"In Progress\" --filter \"assignee:user@email.com\"\n\n# Bulk label management\nlinear bulk label --add \"refactor\" --filter \"team:Backend\"\n\n# Bulk assignment\nlinear bulk assign \"user@email.com\" --filter \"status:Todo\"\n```\n\n### Search Operations\n\n```bash\n# Basic search\nlinear search \"authentication bug\"\n\n# Advanced search with filters\nlinear search \"login\" --state \"Todo\" --priority 3\nlinear search \"bug\" --labels \"urgent\" --assignee \"user@email.com\"\n\n# Advanced search with date filtering\nlinear search-advanced issues \"api bug\" --team \"Backend\" --limit 50\n```\n\n### Team \u0026 User Management\n\n```bash\n# Team operations\nlinear team list\nlinear team show \"Backend\"\n\n# User operations\nlinear user list\nlinear user show \"user@email.com\"\nlinear user workload\n```\n\n### Project Management\n\n```bash\n# List all projects\nlinear project list\n\n# View project details\nlinear project show \"My Project\"\n\n# Create project status update\nlinear project update \"My Project\" \"Made good progress this week\" --health onTrack\n\n# View project update history\nlinear project updates \"My Project\"\n```\n\n### Label Management\n\n```bash\n# List labels\nlinear label list\n\n# Create labels\nlinear label create \"refactor\" --description \"Code refactoring tasks\" --color \"#FF5722\"\n\n# Update labels\nlinear label update \"bug\" --description \"Updated description\" --color \"#FF0000\"\n\n# Delete labels\nlinear label delete \"old-label\"\n```\n\n### Configuration\n\n```bash\n# View configuration\nlinear config show\n\n# Set configuration values\nlinear config set default_team \"Engineering\"\nlinear config set output_format \"table\"\n\n# Edit configuration in editor\nlinear config edit\n\n# Reset configuration\nlinear config reset\n\n# Unset configuration values\nlinear config unset default_team\n```\n\n## Configuration\n\nLinear CLI supports configuration through multiple methods:\n\n### Configuration File\n\nCreate `~/.linear-cli/config.toml`:\n\n```toml\n[default]\nteam = \"Engineering\"\noutput_format = \"table\"\n\n[api]\ntimeout = 30\nretries = 3\n\n[display]\ncolors = true\nprogress_bars = true\n```\n\n### Environment Variables\n\n```bash\nexport LINEAR_API_KEY=\"your_api_token\"\nexport LINEARATOR_DEFAULT_TEAM=\"Engineering\"\nexport LINEARATOR_OUTPUT_FORMAT=\"json\"\n```\n\n### Command Line Options\n\n```bash\nlinear --team \"Engineering\" --format json issue list\n```\n\n## Output Formats\n\n### Table Format (Default)\n```\nID      Title              Status        Assignee      Labels\nISS-123 Fix authentication In Progress   john@co.com   bug, urgent\nISS-124 Add user profiles  Todo          jane@co.com   feature\n```\n\n### JSON Format\n```bash\nlinear issue list --format json\n```\n\n```json\n[\n  {\n    \"id\": \"ISS-123\",\n    \"title\": \"Fix authentication\",\n    \"status\": \"In Progress\",\n    \"assignee\": \"john@company.com\",\n    \"labels\": [\"bug\", \"urgent\"],\n    \"createdAt\": \"2024-01-15T10:30:00Z\"\n  }\n]\n```\n\n### YAML Format\n```bash\nlinear issue list --format yaml\n```\n\n## Advanced Usage\n\n### Interactive Mode\n\nStart interactive mode for guided workflows:\n\n```bash\nlinear interactive\n```\n\n### Shell Completion\n\nEnable shell completion for faster workflow:\n\n```bash\n# Bash\neval \"$(_LINEARATOR_COMPLETE=bash_source linear)\"\n\n# Zsh  \neval \"$(_LINEARATOR_COMPLETE=zsh_source linear)\"\n\n# Fish\n_LINEARATOR_COMPLETE=fish_source linear | source\n```\n\n## Integration Examples\n\n### CI/CD Integration\n\n```yaml\n# GitHub Actions example\n- name: Create Linear issue for failed build\n  run: |\n    linear issue create \\\n      --title \"Build failed: ${{ github.ref }}\" \\\n      --description \"Build failure in ${{ github.repository }}\" \\\n      --labels \"ci,bug\" \\\n      --team \"Engineering\"\n```\n\n### Automation Scripts\n\n```bash\n#!/bin/bash\n# Daily standup preparation\necho \"Your issues for today:\"\nlinear issue list --assignee me --state \"In Progress\"\n\necho \"Urgent issues:\"\nlinear search \"bug\" --priority 4 --state \"Todo\"\n```\n\n## Project Structure\n\n```\nlinearator/\n├── src/\n│   └── linear_cli/\n│       ├── api/                  # Linear API integration\n│       │   ├── auth/             # Authentication (OAuth, API keys)\n│       │   ├── client/           # GraphQL client implementation\n│       │   └── queries.py        # GraphQL query definitions\n│       ├── cli/                  # CLI application\n│       │   ├── commands/         # Command implementations\n│       │   │   ├── issue.py      # Issue management commands\n│       │   │   ├── project.py    # Project management commands\n│       │   │   ├── team.py       # Team operations\n│       │   │   ├── user.py       # User management\n│       │   │   ├── label.py      # Label operations\n│       │   │   ├── search.py     # Search functionality\n│       │   │   ├── bulk.py       # Bulk operations\n│       │   │   ├── auth.py       # Authentication commands\n│       │   │   ├── config.py     # Configuration management\n│       │   │   └── interactive.py # Interactive mode\n│       │   ├── app.py            # Main CLI application\n│       │   └── formatters.py     # Output formatting (table, JSON, YAML)\n│       ├── config/               # Configuration management\n│       │   ├── manager.py        # Config file handling\n│       │   └── exceptions.py     # Config-related exceptions\n│       ├── utils/                # Utility functions\n│       └── constants.py          # Application constants\n├── tests/                        # Test suite\n│   ├── unit/                     # Unit tests\n│   └── integration/              # Integration tests\n├── docs/                         # Documentation\n├── scripts/                      # Utility scripts\n├── .github/                      # GitHub workflows and templates\n│   └── workflows/                # CI/CD pipelines\n├── pyproject.toml                # Project configuration and dependencies\n├── Makefile                      # Development commands\n├── README.md                     # Project overview\n├── CONTRIBUTING.md               # Contribution guidelines\n├── CHANGELOG.md                  # Version history\n└── LICENSE                       # MIT License\n```\n\n### Key Components\n\n- **API Layer**: GraphQL client with comprehensive Linear API integration\n- **CLI Commands**: Modular command structure for all Linear operations\n- **Authentication**: OAuth and API key support with secure credential storage\n- **Output Formatters**: Flexible output in table, JSON, and YAML formats\n- **Configuration**: Multi-source config (files, env vars, CLI options)\n- **Testing**: Comprehensive test coverage with unit and integration tests\n\n## Development\n\n### Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.\n\n### Development Setup\n\n```bash\n# Clone repository\ngit clone https://github.com/AdiKsOnDev/linearator.git\ncd linearator\n\n# Install development dependencies\nmake install-dev\n\n# Run tests\nmake test\n\n# Run linting and formatting\nmake lint\nmake format\n\n# Run security checks\nmake security-check\n```\n\n### Running Tests\n\n```bash\n# Run all tests\nmake test\n\n# Run tests with coverage\nmake test-coverage\n\n# Run linting checks\nmake lint\n\n# Check code formatting\nmake format-check\n```\n\n## Requirements\n\n- Python 3.12 or higher\n- Linear account with API access\n- Internet connection for Linear API communication\n\n## License\n\nThis project is licensed under the MIT License. See [LICENSE](LICENSE) file for details.\n\n## Support\n\n- **Issues**: [GitHub Issues](https://github.com/AdiKsOnDev/linearator/issues)\n- **Discussions**: [GitHub Discussions](https://github.com/AdiKsOnDev/linearator/discussions)\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md) for detailed release notes and version history.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadiksondev%2Flinear-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadiksondev%2Flinear-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadiksondev%2Flinear-cli/lists"}