Update documentation for forked repos
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
IamTheFij 2024-08-18 11:10:49 -07:00
parent 7de539c56c
commit 3365c474a8
2 changed files with 9 additions and 1 deletions

View File

@ -38,6 +38,14 @@ If you already have a list of packages in a file, you can add them all at once u
unhacs add --file <file_path>
```
### Add a component from a forked Home Assistant Core repository
To add a component from a fork of home-assistant/core, use the `--forked-component` flag followed by the URL of the forked repository and then specify the branch with the `--branch` flag:
```bash
unhacs add --forked-component <forked_repo_url> --branch <branch>
```
### List packages
To list all installed packages, use the `list` command:

View File

@ -91,7 +91,7 @@ def parse_args():
"--branch",
"-b",
type=str,
help="For foked types only, branch that should be used.",
help="For forked types only, branch that should be used.",
)
add_parser.add_argument(
"--update",