Metadata-Version: 2.1
Name: baz
Version: 0.2.2
Summary: A wrapper for the Bazel build system that provides a curses GUI for persistent configuration.
Home-page: https://github.com/d3vnu1l/baz
Author: Ryan Deushane
Author-email: radeushane@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Requires-Dist: asciimatics (>=1.11.0)
Requires-Dist: dataclasses (>=0.6)

# Baz
A wrapper for bazel with a GUI for configuring arguments. Running `baz -q` opens a configuration gui where you can set persistant bazel settings by choosing from detected `.bazelrc` configs, and other bazel flags.

Baz stores persistant information in `~/.config/baz/`. You can delete your configuration at any time with `baz -d`.

Add baz to your path and use baz as you would use bazel.


## Usage
* baz --help
```
usage: baz.py [-h] [-e] [-p] [-q] [-d]

optional arguments:
  -h, --help            show this help message and exit
  -e, --emit-build-script
                        Emit a shell script to containing the raw Bazel build command, rather than executing it. This is useful for exporting vanilla Bazel build commands to people who do not have baz.
  -p, --print-build-settings
                        Prints the build settings configured for Baz.
  -q, --configure       Run the Baz configuration TUI.
  -d, --delete-configuration
                        Permenently delete the persistent configuration file.
```

## Installation
### Pypi
```
python3 -m pip install baz --user
```
If you haven't already, make sure scripts from your user site are accesible from PATH.
```
import site
site.USER_BASE # Prints something like `/home/username/.local/`
```
Take this path, and add to your `~/.bashrc`: `export PATH='$PATH:/home/username/.local/bin/`



