Redmine CLI/TUI tool that wraps the Redmine REST API
Project description
redi
redi is a Redmine CLI/TUI tool that wraps the Redmine REST API.
Demo
Quickstart
redi init # interactive: enter Redmine URL and API key
redi --tui # launch the TUI
redi issue # or list issues
See Setup for profile / environment variable details and Usage (examples) for the full command reference.
Install
I recommend installation via uv.
uv tool install redtile # name on PyPI is redtile, NOT redi
Setup
Config
To use redi, you need to set the Redmine URL and API key in one of the ways below.
redi init (interactive, recommended for first time)
redi init
Then, profile will be created in ~/.config/redi/config.toml like below format.
You can also create profile by redi config create, and update profile by redi config update (and also by manual edit).
default_profile = "default"
["default"]
redmine_url = "https://redmine.example.com"
redmine_api_key = "<your_api_key>"
default_project_id = "1"
wiki_project_id = "2"
editor = "nvim"
language = "en" # "en" (default) or "ja"
["sub"]
redmine_url = "https://redmine.example.com"
redmine_api_key = "<your_api_key>"
default_project_id = "2"
wiki_project_id = "3"
editor = "code"
environment variable
export REDMINE_URL=https://redmine.example.com
export REDMINE_API_KEY=<your_api_key>
Shell completion
uv tool install argcomplete
echo 'eval "$(register-python-argcomplete redi)"' >> ~/.zshrc
Usage (examples)
Most commands follow the form:
redi <resource> <action> [<resource_id>] [options]
<resource>—issue,project,time_entry, ... (almost every resource has a short alias such asi/p/te;init/me/relationhave no alias)<action>—list/view/create/update/delete/comment(also has aliases:v/c/u/d/co)redi <resource>alone is shorthand forredi <resource> list
<resource_id>— required for actions that target a specific item (view,update,delete,comment)
# init
redi init # interactive
# run TUI
redi --tui
# config (alias: c)
redi config
redi config create <profile_name> --url <url> --api_key <key> # create new profile
redi config create <profile_name> --url <url> --api_key <key> --set_default
redi config update --default_profile <profile_name> # switch profile
redi config update <profile_name> --editor nvim # update profile
redi config update --language ja # switch language ("en" or "ja")
redi --profile <profile_name> issue # temporarily switch profile for this command
# project (alias: p)
redi project # list projects
redi project list # same as above (`redi project l` / `redi p list` / `redi p l` / `redi p` also work)
redi project view <project_id> # view project
redi project view <project_id> --include trackers,issue_categories
redi project create <name> <identifier>
redi project create <name> <identifier> -d "description" --is_public true
redi project update <project_id> --name renamed_project
# issue (alias: i)
redi issue # list issues
redi issue -p <project_id> -a me -s open
redi issue -q <query_id>
redi issue view <issue_id>
redi issue view <issue_id> --web # view issue with web browser
redi issue view <issue_id> --include journals,attachments,relations
redi issue create # (interactive)
redi issue create "subject" -p <project_id> -t <tracker_id> -a <user_id> -d "description"
redi issue update <issue_id> # (interactive)
redi issue update <issue_id> --status_id <status_id> -n "notes"
redi issue update <issue_id> --start_date 2026-04-26 --due_date 2026-05-31 --estimated_hours 1.5
redi issue update <issue_id> --done_ratio 70
redi issue update <issue_id> --assigned_to_id <user_id>
redi issue update <issue_id> --assigned_to_id "" # unset assignee
redi issue update <issue_id> --relate relates --to <other_issue_id>
redi issue update <issue_id> --attach ./foo.png --attach ./bar.log
redi issue comment <issue_id> "hello~"
redi issue delete <issue_id> # (confirm before delete)
redi issue delete <issue_id> -y # skip confirmation
# version (alias: v)
redi version # list versions(fixed_versions)
redi version -p <project_id>
redi version view <version_id>
redi version create <name> -p <project_id> --due_date 2026-12-31 --status open
redi version update <version_id> --status closed
# wiki (alias: w)
redi wiki
redi wiki -p <project_id>
redi wiki view <page_title>
redi wiki create # (interactive)
redi wiki update # (interactive)
# file (alias: f, project files)
redi file -p <project_id> # list
redi file create ./foo.zip -p <project_id> -d "description"
# attachment (alias: a)
redi attachment view <attachment_id>
redi attachment update <attachment_id> -f new_name.png -d "desc"
redi attachment delete <attachment_id> # confirm before delete (-y to skip)
# relation (issue relation details)
redi relation view <relation_id>
# time_entry (alias: te)
redi time_entry -p <project_id> -u me
redi time_entry create 1.5 -i <issue_id> -a <activity_id> -c "comment"
redi time_entry update <time_entry_id> --hours 2.0
redi time_entry delete <time_entry_id> # confirm before delete (-y to skip)
# me (own account)
redi me
redi me update -f <firstname> -l <lastname> -m <mail>
# membership (alias: m)
redi membership -p <project_id>
redi membership view <membership_id>
# news (alias: n)
redi news -p <project_id>
# issue_category (alias: ic)
redi issue_category -p <project_id>
redi issue_category create "category" -p <project_id>
# others
redi user # list users (alias: u)
redi tracker # list trackers (alias: t)
redi issue_status # list issue statuses (alias: is)
redi issue_priority # list priorities (alias: ip)
redi time_entry_activity # list activities (alias: tea)
redi document_category # list document categories (alias: dc)
redi role # list roles (alias: r)
redi group # list groups (alias: g)
redi custom_field # list custom fields (alias: cf)
redi query # list custom queries (alias: q)
redi search "keyword" # (alias: s)
redi --version
Development
install
uv tool install -e .
task
Common tasks (managed by task runner Task):
task check # format → lint → typecheck → test (run before opening a PR)
task format # uv run ruff format
task lint # uv run ruff check
task typecheck # uv run ty check
task test # uv run pytest -v
Debug
redi --debug <command> # log request URLs and response status codes to ~/.config/redi/redi-debug.log
redi --debug-tui # dump rendered TUI screens as YAML to log
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 redtile-0.0.28.tar.gz.
File metadata
- Download URL: redtile-0.0.28.tar.gz
- Upload date:
- Size: 76.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d192c2e0fa9f4ba5382965ab5ae6406c93fdb9a1bc20410b19f3d1cb09e14dc9
|
|
| MD5 |
4549457c3e598659d55a4054e153077a
|
|
| BLAKE2b-256 |
2429a9e5d4d8e38ac141bd6099566d60ca4827f2739c1fe42a1f8563a4cc0af8
|
Provenance
The following attestation bundles were made for redtile-0.0.28.tar.gz:
Publisher:
release.yml on kawagh/redi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
redtile-0.0.28.tar.gz -
Subject digest:
d192c2e0fa9f4ba5382965ab5ae6406c93fdb9a1bc20410b19f3d1cb09e14dc9 - Sigstore transparency entry: 1436903998
- Sigstore integration time:
-
Permalink:
kawagh/redi@d05d9342fbbfa3caf83a7bcce7f509468a93354e -
Branch / Tag:
refs/tags/0.0.28 - Owner: https://github.com/kawagh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d05d9342fbbfa3caf83a7bcce7f509468a93354e -
Trigger Event:
push
-
Statement type:
File details
Details for the file redtile-0.0.28-py3-none-any.whl.
File metadata
- Download URL: redtile-0.0.28-py3-none-any.whl
- Upload date:
- Size: 107.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cdd27a75e9dad20fa25fa73f216e94e32735f7c646267c608cb940dd253d062
|
|
| MD5 |
91340cae2a50dc9b6d879297ed5487a7
|
|
| BLAKE2b-256 |
6b64679fd6fc21934eb76f4ad39fde13f2facd8def4851b80a5ebf95ba03dd73
|
Provenance
The following attestation bundles were made for redtile-0.0.28-py3-none-any.whl:
Publisher:
release.yml on kawagh/redi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
redtile-0.0.28-py3-none-any.whl -
Subject digest:
1cdd27a75e9dad20fa25fa73f216e94e32735f7c646267c608cb940dd253d062 - Sigstore transparency entry: 1436904000
- Sigstore integration time:
-
Permalink:
kawagh/redi@d05d9342fbbfa3caf83a7bcce7f509468a93354e -
Branch / Tag:
refs/tags/0.0.28 - Owner: https://github.com/kawagh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d05d9342fbbfa3caf83a7bcce7f509468a93354e -
Trigger Event:
push
-
Statement type: