1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-12-03 22:59:07 +02:00

Document dev commands

This commit is contained in:
mo8it
2024-04-22 00:45:16 +02:00
parent 4ce2714da1
commit 86684b7fc9
2 changed files with 8 additions and 2 deletions

View File

@@ -11,12 +11,17 @@ mod update;
#[derive(Subcommand)]
pub enum DevCommands {
/// Create a new project for third-party Rustlings exercises
New {
/// The path to create the project in
path: PathBuf,
/// Don't initialize a Git repository in the project directory
#[arg(long)]
no_git: bool,
},
/// Run checks on the exercises
Check,
/// Update the `Cargo.toml` file for the exercises
Update,
}