feat(main): Add command for generating completion files #15
Annotations
1 warning
called `unwrap` on `target_directory` after checking its variant with `is_some`:
src/rsoft.rs#L29
warning: called `unwrap` on `target_directory` after checking its variant with `is_some`
--> src/rsoft.rs:29:29
|
28 | if target_directory.is_some() {
| ----------------------------- help: try: `if let Some(..) = target_directory`
29 | current_directory = target_directory.unwrap().as_ref().to_path_buf();
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
= note: `#[warn(clippy::unnecessary_unwrap)]` on by default
|