Update documentation for forked repos
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7de539c56c
commit
3365c474a8
@ -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>
|
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
|
### List packages
|
||||||
|
|
||||||
To list all installed packages, use the `list` command:
|
To list all installed packages, use the `list` command:
|
||||||
|
@ -91,7 +91,7 @@ def parse_args():
|
|||||||
"--branch",
|
"--branch",
|
||||||
"-b",
|
"-b",
|
||||||
type=str,
|
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(
|
add_parser.add_argument(
|
||||||
"--update",
|
"--update",
|
||||||
|
Loading…
Reference in New Issue
Block a user