navigate can now handle path with spaces, path can only be last

argument though
This commit is contained in:
2025-03-30 13:20:29 +02:00
parent 3f05706dfb
commit 315ace51ed
2 changed files with 9 additions and 7 deletions
+4 -2
View File
@@ -42,7 +42,8 @@ pub struct PushArgs {
pub show_stack: Option<bool>,
/// change to <path>
pub path: Option<String>,
#[arg(num_args = 0..)]
pub path: Option<Vec<String>>,
}
#[derive(Debug, Clone, Args)]
@@ -113,7 +114,8 @@ pub struct BookmarkSubArgs {
pub name: String,
/// path of bookmark to add
pub path: Option<PathBuf>,
#[arg(num_args = 0..)]
pub path: Vec<String>,
}
#[derive(Debug, Clone, Args)]