Skip to content

Commit 7ef7f72

Browse files
committed
Documentation update to add the discovery command
1 parent 23bf5f7 commit 7ef7f72

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

docs/src/cli_commands.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ These options can be used with any command:
3030
| `remove` | Remove a specific ESP-IDF version |
3131
| `purge` | Purge all ESP-IDF installations |
3232
| `import` | Import existing ESP-IDF installation using tools_set_config.json |
33-
| `discover` | Discover available ESP-IDF versions (not implemented yet) |
33+
| `discover` | Discover available ESP-IDF versions |
34+
| `gui` | Run the ESP-IDF Installer GUI with arguments passed through command line |
3435

3536
## Command Details
3637

@@ -138,10 +139,10 @@ If `PATH` is not provided, the command will inform you that no config file was s
138139
Discover available ESP-IDF versions (not implemented yet).
139140
140141
```bash
141-
eim discover
142+
eim discover [PATH]
142143
```
143144
144-
This command is planned to discover ESP-IDF installations on your system but is not yet implemented.
145+
This command searches for previously installed ESP-IDF versions on your system. If PATH is not provided, the command will search from the root of the filesystem. For any found versions where automatic import is possible, they will be imported into EIM's management. For other found versions that cannot be automatically imported, the command will suggest the appropriate `eim install` command to allow the user to manually reinstall them.
145146
146147
## Examples
147148

src-tauri/src/lib/utils.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -407,14 +407,9 @@ pub fn parse_tool_set_config(config_path: &str) -> Result<()> {
407407

408408
let new_activation_script = match std::env::consts::OS {
409409
"windows" => format!(
410-
<<<<<<< HEAD
411410
"{}\\Microsoft.{}.PowerShell_profile.ps1",
412411
activation_script_path,
413412
&tool_set.idf_version
414-
=======
415-
"{}\\Microsoft.PowerShell_profile.ps1",
416-
activation_script_path
417-
>>>>>>> b06d894 (updated according to changes in the scripts location)
418413
),
419414
_ => format!(
420415
"{}/activate_idf_{}.sh",

0 commit comments

Comments
 (0)