Metadata-Version: 2.1
Name: hass-deps
Version: 0.0.0b1
Summary: 3rd party dependency manager for Home Assistant
Home-page: https://github.com/nickw444/hass-deps
Author: Nick Whyte
Author-email: nick@nickwhyte.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python
Description-Content-Type: text/markdown
License-File: LICENSE

# hass-deps

An un-opinionated command line dependency manager for Home Assistant

## Installing

```sh
pip install hass-deps
```

## Usage

`hass-deps` can be invoked directly from the root of your Home Assistant configuration directory, however the config directory can be specified via the `--config-dir` switch.

### Add a dependency
```sh
hass-deps add <dependency source>
```

**e.g.:**

```sh
hass-deps add https://github.com/nickw444/deebot-t8-hass.git
```

### Install/sync all dependencies
Ensures the local dependencies are in-sync with those defined in the lock file.

```sh
hass-deps install
```

To force reinstallation of dependencies even where installed version matches the lock file version, use the `--force` switch:

```sh
hass-deps install --force
```

### Upgrade a dependency

**Upgrading a single dependency to the latest version:**

```sh
hass-deps upgrade <dependency source>
```

**Upgrading all dependencies to the latest version:**

```sh
hass-deps upgrade
```

## Why not HACS?



## TODO

- [ ] Error when running when no hass-deps.yaml in config
- [ ] Add `hass-deps init` to write the intial hass-deps.yaml
- [ ] Publish to pypi
- [ ] Support --no-save/--save when adding
- [ ] Better error messages and logging
- [ ] Linting


