diff options
| author | mo8it <mo8it@proton.me> | 2024-04-16 03:15:14 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-16 03:15:14 +0200 |
| commit | df448c069cae593d5eec37aa5b07c8103ae0f9b9 (patch) | |
| tree | 6e16d28a4533f1c2416be9474e929a5bd6c365c8 /src/init.rs | |
| parent | 25e7696565349014c5e2662ddba43dc20391e272 (diff) | |
Fix running dev commands
Diffstat (limited to 'src/init.rs')
| -rw-r--r-- | src/init.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/init.rs b/src/init.rs index 3202017..7648202 100644 --- a/src/init.rs +++ b/src/init.rs @@ -59,6 +59,8 @@ pub fn init(exercise_infos: &[ExerciseInfo]) -> Result<()> { fs::write(".vscode/extensions.json", VS_CODE_EXTENSIONS_JSON) .context("Failed to create the file `rustlings/.vscode/extensions.json`")?; + println!("{POST_INIT_MSG}"); + Ok(()) } @@ -87,3 +89,8 @@ const RUSTLINGS_DIR_ALREADY_EXISTS_ERR: &str = You probably already initialized Rustlings. Run `cd rustlings` Then run `rustlings` again"; + +const POST_INIT_MSG: &str = "Done initialization! + +Run `cd rustlings` to go into the generated directory. +Then run `rustlings` to get started."; |
