crystal: add French translation, update page (#10821)

* crystal: add French translation, update page

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/23/head
Alexandre ZANNI 2023-10-08 13:28:50 +02:00 committed by GitHub
parent 8d95be0eaf
commit bdcd412b4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,36 @@
# crystal
> Outil de gestion du code source de Crystal.
> Plus d'informations : <https://crystal-lang.org/reference/using_the_compiler>.
- Exécute un fichier Crystal :
`crystal {{chemin/vers/fichier.cr}}`
- Compile un fichier et toutes ses dépendances en un seul exécutable :
`crystal build {{chemin/vers/fichier.cr}}`
- Lit le code source Crystal à partir de la ligne de commande ou de `stdin`, et l'exécute :
`crystal eval '{{code}}'`
- Génère la documentation de l'API à partir commentaires dans les fichiers Crystal :
`crystal docs`
- Compile et exécute une suite de spécifications Crystal :
`crystal spec`
- Démarre un serveur interactif local pour tester le langage :
`crystal play`
- Crée un répertoire de projet pour une application Crystal :
`crystal init app {{nom_application}}`
- Affiche toutes les options d'aide :
`crystal help`

View File

@ -11,6 +11,18 @@
`crystal build {{path/to/file.cr}}`
- Read Crystal source code from the command line or `stdin`, and execute it:
`crystal eval '{{code}}'`
- Generate API documentation from inline docstrings in Crystal files:
`crystal docs`
- Compile and run a Crystal specification suite:
`crystal spec`
- Start a local interactive server for testing the language:
`crystal play`