cargo-add, cargo-bench, cargo-build, cargo-init: add French translation (#14129)
* Add some french translation for cargo * lint * revert package-lock * Update pages.fr/common/cargo-add.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-add.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-bench.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-bench.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-bench.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-bench.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-bench.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-init.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-init.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-init.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-init.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-init.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-bench.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/cargo-build.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * fix typo --------- Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>
This commit is contained in:
25
pages.fr/common/cargo-init.md
Normal file
25
pages.fr/common/cargo-init.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# cargo init
|
||||
|
||||
> Crée un nouveau paquet Cargo.
|
||||
> Équivalent de `cargo new`, mais où spécifier un dossier est optionnel.
|
||||
> Plus d'informations : <https://doc.rust-lang.org/cargo/commands/cargo-init.html>.
|
||||
|
||||
- Initialise un projet Rust binaire dans le dossier courant :
|
||||
|
||||
`cargo init`
|
||||
|
||||
- Initailise un projet de binaire Rust dans le dossier spécifié :
|
||||
|
||||
`cargo init {{chemin/vers/dossier}}`
|
||||
|
||||
- Initialise un projet de bibliothèque Rust dans le dossier spécifié :
|
||||
|
||||
`cargo init --lib`
|
||||
|
||||
- Initialise un dépôt de système de gestion de version dans le dossier du projet (défaut : `git`) :
|
||||
|
||||
`cargo init --vcs {{git|hg|pijul|fossil|none}}`
|
||||
|
||||
- Défini le nom du paquet (défaut : nom du dossier):
|
||||
|
||||
`cargo init --name {{nom_du_paquet}}`
|
Reference in New Issue
Block a user