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:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user