Skip to content

Commit 5f69088

Browse files
committed
Ajout des étapes pour créer le template
1 parent 674efcc commit 5f69088

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,18 @@ arguments de la ligne de commande et en effectuer le parsing.
3333

3434
Pour créer une application depuis ce template, on procédera comme suit :
3535

36-
<a href="https://asciinema.org/a/732396" target="_blank"><img src="https://asciinema.org/a/732396.svg" /></a>
36+
```shell
37+
#!/usr/bin/env bash
38+
39+
# Définir votre utilisateur GitHub
40+
read -p "Entrer votre utilisateur GitHub: " user
41+
42+
# Définir le nom du dépot à créer
43+
read -p "Entrer le nom du dépôt à créer: " repo
44+
45+
# Créer une application java-25-cli-XXXX à partir du template https://github.com/java-cli-apps/java-25-quickstart
46+
gh repo create ${repo} --public --template git@github.com:java-cli-apps/java-25-quickstart.git
47+
```
3748

3849
## Construire votre application
3950

0 commit comments

Comments
 (0)