A CLI tool to facilitate the developer workflow
Project description
Glu CLI
Glu CLI is a command‑line interface for Glu that streamlines common development workflows by integrating GitHub pull requests, Jira tickets, and AI‑powered content generation.
Installation
Glu CLI is distributed via PyPI. You can install it with:
pipx install glu-cli
Alternatively, to install from source:
git clone https://github.com/BrightNight-Energy/glu.git
cd glu
pip install -e .
Usage
After installation, the glu command will be available:
glu --help
Commands
Glu CLI provides two main command groups: pr and ticket. They are registered as subcommands of the main CLI:
glu pr --help
glu ticket --help
pr create
The only command you need. When you're ready to push and raise a PR, use this. It will:
- Create your commit message based on commit diff (if uncommitted changes)
- Create a ticket in Jira based on PR description (or use the provided ticket #)
- Push a PR based on the git diff and tag your reviewers
- If PR is not a draft, will move your ticket to Ready for review!
...all fully customizable and within your control.
glu pr create [OPTIONS]
Options:
--ticket, -t TEXTJira ticket number--project, -p TEXTJira project (defaults to default project)--draft, -dMark as draft PR--ready-for-review/--no-ready-for-reviewTransition ticket to Ready for review--reviewer, -r TEXTRequested reviewers (repeatable)--provider, -pr TEXTAI model provider
ticket create
Create a Jira ticket, optionally using AI to generate summary and description:
glu ticket create [OPTIONS]
Options:
--summary, --title, -s TEXTIssue summary or title--type, -t TEXTIssue type--body, -b TEXTIssue description--assignee, -a TEXTAssignee--reporter, -r TEXTReporter--priority, -y TEXTPriority--project, -p TEXTJira project--ai-prompt, -ai TEXTAI prompt to generate summary and description--provider, -pr TEXTAI model provider
The command also accepts additional JIRA fields via --<field> <value>.
Configuration (init)
Initialize your Glu configuration interactively (strongly recommended):
glu init
Currently, glu supports the AI providers listed below. The default model for each provider can be customized via config or specified on each command.
| Provider | Default model |
|---|---|
| OpenAI | o4-mini |
| Gemini | gemini-2.0-flash |
| xAI | grok-3-mini-fast |
| Anthropic | claude-sonnet-4-0 |
| Ollama | llama3.2 |
Options:
-
Jira Config
--jira-api-token TEXTJira API token (required)--jira-email, --email TEXTJira email (required)--jira-server TEXTJira server URL (default: https://jira.atlassian.com)--jira-in-progress TEXTJira “in progress” transition name (default: Starting)--jira-ready-for-review TEXTJira “ready for review” transition name (default: Ready for review)--default-jira-project TEXTDefault Jira project key
-
GitHub Config
--github-pat TEXTGitHub Personal Access Token (required)
Contributing
Contributions to Glu CLI are welcome! Please follow these guidelines:
- Fork the repository and create your branch:
git checkout -b feature/your-feature
- Make your changes, ensuring that new code includes tests where appropriate.
- Install precommit hooks:
pre-commit install --install-hooks pre-commit install --hook-type commit-msg
- Commit your changes following Conventional Commits.
- Push to your fork and open a Pull Request.
Acknowledgements
Glu CLI is inspired by Jira CLI and GitHub CLI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file glu_cli-2.0.1.tar.gz.
File metadata
- Download URL: glu_cli-2.0.1.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b1973b1eacd6860cd354cb528f91c954e2cb29335dee6ac7302b27f152b774a
|
|
| MD5 |
597cbba711fcea1c1476c31c396b7a6d
|
|
| BLAKE2b-256 |
56cac19b64696ecaf3ece291171b1c6dbc6b0368f131242beb60c7266236fced
|
File details
Details for the file glu_cli-2.0.1-py3-none-any.whl.
File metadata
- Download URL: glu_cli-2.0.1-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a451458d3dec1928d40c92bba8fee808fc5dce394ebd7c6e6520734ac6f9a8a9
|
|
| MD5 |
9d9f639761402b0b50af74ea8ebf922f
|
|
| BLAKE2b-256 |
967b8a83f9abe43a98c58df93551345724ca824ac1414df84a5164b1ee1ed033
|