summaryrefslogtreecommitdiff
path: root/src/dev.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-04-22 00:45:16 +0200
committermo8it <mo8it@proton.me>2024-04-22 00:45:16 +0200
commit86684b7fc9dd5e8bedad6056565645d1d980925c (patch)
treebb6765ec7de717615dd7fe0fb1ad3affdc7835f9 /src/dev.rs
parent4ce2714da1f079e81b6887b52b1acfbc283a3d63 (diff)
Document dev commands
Diffstat (limited to 'src/dev.rs')
-rw-r--r--src/dev.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dev.rs b/src/dev.rs
index d7f9af6..38338cd 100644
--- a/src/dev.rs
+++ b/src/dev.rs
@@ -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,
}