Skip to content

Commit 88c19f4

Browse files
committed
Add docs for infrahub repo init
1 parent 0d56b9b commit 88c19f4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/docs/infrahubctl/infrahubctl-repository.mdx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ $ infrahubctl repository [OPTIONS] COMMAND [ARGS]...
1919
**Commands**:
2020

2121
* `add`: Add a new repository.
22+
* `init`: Initialize a new Infrahub repository.
2223
* `list`
2324

2425
## `infrahubctl repository add`
@@ -47,6 +48,26 @@ $ infrahubctl repository add [OPTIONS] NAME LOCATION
4748
* `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml]
4849
* `--help`: Show this message and exit.
4950

51+
## `infrahubctl repository init`
52+
53+
Initialize a new Infrahub repository.
54+
55+
**Usage**:
56+
57+
```console
58+
$ infrahubctl repository init [OPTIONS] DST
59+
```
60+
61+
**Arguments**:
62+
63+
* `DST`: [required]
64+
65+
**Options**:
66+
67+
* `--data PATH`
68+
* `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml]
69+
* `--help`: Show this message and exit.
70+
5071
## `infrahubctl repository list`
5172

5273
**Usage**:

0 commit comments

Comments
 (0)