|
| 1 | +docbuild.cli.cmd_repo |
| 2 | +===================== |
| 3 | + |
| 4 | +.. py:module:: docbuild.cli.cmd_repo |
| 5 | +
|
| 6 | +.. autoapi-nested-parse:: |
| 7 | + |
| 8 | + Manage repositories. |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | +Submodules |
| 13 | +---------- |
| 14 | + |
| 15 | +.. toctree:: |
| 16 | + :maxdepth: 1 |
| 17 | + |
| 18 | + /reference/_autoapi/docbuild/cli/cmd_repo/cmd_clone/index |
| 19 | + /reference/_autoapi/docbuild/cli/cmd_repo/cmd_dir/index |
| 20 | + /reference/_autoapi/docbuild/cli/cmd_repo/cmd_list/index |
| 21 | + /reference/_autoapi/docbuild/cli/cmd_repo/process/index |
| 22 | + |
| 23 | + |
| 24 | +Functions |
| 25 | +--------- |
| 26 | + |
| 27 | +.. autoapisummary:: |
| 28 | + |
| 29 | + docbuild.cli.cmd_repo.clone |
| 30 | + docbuild.cli.cmd_repo.cmd_dir |
| 31 | + docbuild.cli.cmd_repo.cmd_list |
| 32 | + docbuild.cli.cmd_repo.repo |
| 33 | + |
| 34 | + |
| 35 | +Package Contents |
| 36 | +---------------- |
| 37 | + |
| 38 | +.. py:function:: clone(ctx: click.Context, repos: tuple[str, Ellipsis]) -> None |
| 39 | +
|
| 40 | + Clone repositories into permanent directory. |
| 41 | + |
| 42 | + :param repos: A tuple of repository selectors. If empty, all repos are cloned. |
| 43 | + :param ctx: The Click context object. |
| 44 | + |
| 45 | + |
| 46 | +.. py:function:: cmd_dir(ctx: click.Context) -> None |
| 47 | +
|
| 48 | + Show the directory path for permanent repositories. |
| 49 | + |
| 50 | + Outputs the path to the repository directory defined |
| 51 | + in the environment configuration. |
| 52 | + |
| 53 | + :param ctx: The Click context object. |
| 54 | + |
| 55 | + |
| 56 | +.. py:function:: cmd_list(ctx: click.Context) -> None |
| 57 | +
|
| 58 | + List the available permanent repositories. |
| 59 | + |
| 60 | + Outputs the directory names of all repositories defined in the |
| 61 | + environment configuration. |
| 62 | + If no repositories are defined, it outputs a message indicating that |
| 63 | + no repositories are available. |
| 64 | + |
| 65 | + :param ctx: The Click context object. |
| 66 | + |
| 67 | + |
| 68 | +.. py:function:: repo(ctx: click.Context) -> None |
| 69 | +
|
| 70 | + Subcommand to validate XML configuration files. |
| 71 | + |
| 72 | + :param ctx: The Click context object. |
| 73 | + |
| 74 | + |
0 commit comments