You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6-32Lines changed: 6 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,38 +21,12 @@ After you have *github-cli* up and running we can create our first repository.
21
21
First of all we have to create a configuration file that will customize how our repositories will be created. You can have a look on our [example](.github.sample.toml).
22
22
This file can be placed on the same folder as your binary is, or in your home directory and it should be named `.github.toml` (You can also use it as `yaml` or `json`).
23
23
24
-
Let's see how we can create a new repo:
25
-
26
-
```sh
27
-
github-cli create
28
-
```
29
-
30
-
This command will create a new github repository following the rules defined on the configuration file.
31
-
32
-
```sh
33
-
Please enter the repository name: github-cli
34
-
Please enter the org name:
35
-
36
-
INFO[0000] Creating repository...
37
-
INFO[0001] Adding pull approve...
38
-
INFO[0003] Adding teams to repository...
39
-
INFO[0004] Adding labels to repository...
40
-
INFO[0007] Adding branch protections to repository...
41
-
INFO[0007] Repository created!
42
-
```
43
-
44
-
## Flags
45
-
46
-
You can always customize the repo creation with flags:
0 commit comments