Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.

Commit 78232a7

Browse files
committed
Making README simpler
1 parent 92653d0 commit 78232a7

File tree

1 file changed

+6
-32
lines changed

1 file changed

+6
-32
lines changed

README.md

Lines changed: 6 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -21,38 +21,12 @@ After you have *github-cli* up and running we can create our first repository.
2121
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).
2222
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`).
2323

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:
47-
48-
```
49-
--add-branch-protections Enables branch protections (default true)
50-
--add-default-labels Removes the default github labels (default true)
51-
--add-lables Enable labels (default true)
52-
--add-pullapprove Enables pull approve (default true)
53-
--add-teams Enable teams (default true)
54-
--add-webhooks Enables webhooks configurations (default true)
55-
```
24+
### Commands
25+
26+
| Command | Description |
27+
|--------------------------|--------------------------------------|
28+
| `github-cli create-repo` | Creates a new github repository |
29+
| `github-cli create-test` | Creates a new hellofresh hiring test |
5630

5731
## Contributing
5832

0 commit comments

Comments
 (0)