A command line tool to interact with Phabricator
Project description
phabfive
A command line tool to interact with Phabricator/Phorge.
Features
A summary of the currently supported features:
- Passphrase - Get specified secret
- Diffusion - List repositories, get branches, clone URIs, add repositories, manage URIs
- Paste - List, get, and add pastes
- User - Get information about the logged-in user
- Maniphest - Add comments, show task details, create tasks from templates
For complete documentation, see Read the Docs.
Installation
uv is a fast Python package installer (10-100x faster than pip):
# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install phabfive
uv tool install phabfive
# Or install in a virtual environment
uv venv
uv pip install phabfive
Install the latest development version:
# Install from git to get unreleased features and fixes
uv tool install git+https://github.com/dynamist/phabfive@master
Quick Start
1. Get an API token
Grab a Phabricator/Phorge token at https://<yourserver.com>/settings/panel/apitokens/
2. Configure credentials
Environment variables:
export PHAB_TOKEN=cli-ABC123
export PHAB_URL=https://yourserver.com/api/
Or use a configuration file:
# Linux/XDG
echo "PHAB_TOKEN: cli-ABC123" > ~/.config/phabfive.yaml
echo "PHAB_URL: https://yourserver.com/api/" >> ~/.config/phabfive.yaml
# macOS
echo "PHAB_TOKEN: cli-ABC123" > ~/Library/Application\ Support/phabfive.yaml
echo "PHAB_URL: https://yourserver.com/api/" >> ~/Library/Application\ Support/phabfive.yaml
# Windows - create at: %LOCALAPPDATA%\phabfive\phabfive.yaml
Note: On macOS, you can use ~/.config by setting export XDG_CONFIG_HOME=~/.config
3. Use phabfive
phabfive passphrase K123
phabfive paste list
phabfive maniphest search myproject
Documentation
- Full CLI Reference - Complete command documentation
- Development Guide - Set up dev environment, run tests, local Phorge/Phabricator setup
- Release Process - How to build and publish releases
Contributing
See docs/development.md for instructions on setting up your development environment.
License
Copyright (c) 2017-2025 Dynamist AB
See the LICENSE file provided with the source distribution for full details.
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 phabfive-0.4.0.tar.gz.
File metadata
- Download URL: phabfive-0.4.0.tar.gz
- Upload date:
- Size: 141.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d155e4f106b626486d5f839ca96cb49db6b29347ee7678fd62a26d31f900382
|
|
| MD5 |
c92529667aca9310642911211aff53c4
|
|
| BLAKE2b-256 |
476acdb6bd3f6d2a075ca3e92f8deecabb3a2b1a38fe27d067e3c813b0f1d445
|
File details
Details for the file phabfive-0.4.0-py3-none-any.whl.
File metadata
- Download URL: phabfive-0.4.0-py3-none-any.whl
- Upload date:
- Size: 51.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6867091064f63a6c88e6be10c73678178300fb4f9eca77324a66e4e401c5e03
|
|
| MD5 |
465e315c662f23feec84c75ad5943f38
|
|
| BLAKE2b-256 |
f3077a22128a11abf498713adeabf167a7ff05686e6fb9ab2ceaa5584503d75f
|