From aaf8d88391a00d52a42446bd0aa0a31c58999208 Mon Sep 17 00:00:00 2001 From: Cassie205 Date: Thu, 1 Feb 2024 18:39:50 +0100 Subject: [PATCH 1/2] Add CLI Examples --- cli/index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cli/index.md b/cli/index.md index 0b93c9f9..4341b7f3 100644 --- a/cli/index.md +++ b/cli/index.md @@ -219,6 +219,14 @@ duck --username --list s3:/ ```{code-block} duck --username --list s3:// ``` +- List a vault on OneDrive +```{code-block} +duck --list "onedrive:/My Files//" +``` +- Download a single file from a vault on OneDrive +```{code-block} +duck --download "onedrive:/My Files//" ~/Downloads/ --vault "/My Files//" +``` ### Generic Options From 5aca8559e6573572bd8035354a2d69a3842dd2b4 Mon Sep 17 00:00:00 2001 From: Cassie205 Date: Thu, 1 Feb 2024 18:42:29 +0100 Subject: [PATCH 2/2] correction --- cli/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/index.md b/cli/index.md index 4341b7f3..c34c25cd 100644 --- a/cli/index.md +++ b/cli/index.md @@ -219,7 +219,7 @@ duck --username --list s3:/ ```{code-block} duck --username --list s3:// ``` -- List a vault on OneDrive +- List a vault on OneDrive without using the `--vault` option ```{code-block} duck --list "onedrive:/My Files//" ```