semvec/pypi-packages huggingface dataset:
phabradoodle 0.3.0
A collection of tools for Phabricator.
License: MIT
Requires Python: >=3.6

# Phabradoodle

A collection of tools for Phabricator.

[![Build Status](https://travis-ci.com/Justintime50/phabradoodle.svg?branch=master)](https://travis-ci.com/Justintime50/phabradoodle)
[![Coverage Status](https://coveralls.io/repos/github/Justintime50/phabradoodle/badge.svg?branch=master)](https://coveralls.io/github/Justintime50/phabradoodle?branch=master)
[![PyPi](https://img.shields.io/pypi/v/phabradoodle)](http://pypi.org/project/phabradoodle)
[![Licence](https://img.shields.io/github/license/justintime50/phabradoodle)](https://opensource.org/licenses/mit-license.php)

Do things like look up repo, user, or task details.

The Phabricator API documentation can be found [here](https://secure.phabricator.com/conduit/).

## Install

```bash
# Install tool
pip3 install phabradoodle

# Install locally
make install

# Get Makefile help
make help
```

## Usage

```
Usage:
    PHAB_API_KEY=123... phabradoodle --username jhammond --usertasks

Options:
    -h, --help            show this help message and exit
    -b BASE_URL, --base_url BASE_URL
                            The base URL of your Phabricator instance.
    -u USERNAME, --username USERNAME
                            The username required for commands.
    -ud, --userdetails    Toggles the user details tool.
    -ut, --usertasks      Toggles the user tasks tool.
    -r REPO, --repo REPO  The repo required for commands.
    -rd, --repodetails    Toggles the repo details tool.
    -p PROJECT, --project PROJECT
                            The project required for commands.
    -pd, --projectdetails
                            Toggles the project details tool.

Environment Variables:
    PHAB_API_KEY    expects a string of your Phabricator API key
    PHAB_USER_ID    expects a string of the Phabricator user ID to use to lookup records
```

## Development

```bash
# Lint the project
make lint

# Run tests
make test

# Run test coverage
make coverage

# Run the tool locally
venv/bin/python phabradoodle/phab.py --help
```