From 9dc53bd9f83b55094d54a61fe1ea09d488ff4bef Mon Sep 17 00:00:00 2001 From: Niraj Tolia Date: Fri, 21 Oct 2022 00:38:01 -0700 Subject: [PATCH] Consistently assume that Corso was downloaded and is not on the path (#1275) ## Description - Don't make assumptions about corso being on the path - Assume that corso is in the CWD - We also don't need the `.exe` suffix on Windows ## Type of change - [x] :world_map: Documentation --- docs/docs/quickstart.md | 20 ++++++++++---------- docs/docs/setup/repos.md | 8 ++++---- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/docs/quickstart.md b/docs/docs/quickstart.md index 6936d95c2..c5374808e 100644 --- a/docs/docs/quickstart.md +++ b/docs/docs/quickstart.md @@ -61,7 +61,7 @@ Corso binary or container. ```powershell # Initialize the Corso Repository $Env:CORSO_PASSPHRASE = "CHANGE-ME-THIS-IS-INSECURE" - .\corso.exe repo init s3 --bucket corso-test + .\corso repo init s3 --bucket corso-test ``` @@ -70,7 +70,7 @@ Corso binary or container. ```bash # Initialize the Corso Repository export CORSO_PASSPHRASE="CHANGE-ME-THIS-IS-INSECURE" - corso repo init s3 --bucket corso-test + ./corso repo init s3 --bucket corso-test ``` @@ -109,7 +109,7 @@ you initialized the Corso repository, you might need to [connect to it again](/s ```powershell # Backup your inbox - .\corso.exe backup create exchange --user + .\corso backup create exchange --user ``` @@ -117,7 +117,7 @@ you initialized the Corso repository, you might need to [connect to it again](/s ```bash # Backup your inbox - corso backup create exchange --user + ./corso backup create exchange --user ``` @@ -155,7 +155,7 @@ You can see all Exchange backups available with the following command: ```powershell # List all Exchange backups - .\corso.exe backup list exchange + .\corso backup list exchange ``` @@ -163,7 +163,7 @@ You can see all Exchange backups available with the following command: ```bash # List all Exchange backups - corso backup list exchange + ./corso backup list exchange ``` @@ -193,7 +193,7 @@ Next, select one of the available backups and list all backed up emails. See ```powershell # List emails in a selected backup - .\corso.exe backup details exchange --backup --email "*" | Select-Object -First 5 + .\corso backup details exchange --backup --email "*" | Select-Object -First 5 ``` @@ -201,7 +201,7 @@ Next, select one of the available backups and list all backed up emails. See ```bash # List emails in a selected backup - corso backup details exchange --backup --email "*" | head + ./corso backup details exchange --backup --email "*" | head ``` @@ -234,7 +234,7 @@ When you are ready to restore the selected email, use the following command. ```powershell # Restore a selected email - .\corso.exe restore exchange --backup --email + .\corso restore exchange --backup --email ``` @@ -242,7 +242,7 @@ When you are ready to restore the selected email, use the following command. ```bash # Restore a selected email - corso restore exchange --backup --email + ./corso restore exchange --backup --email ``` diff --git a/docs/docs/setup/repos.md b/docs/docs/setup/repos.md index fc6630637..7199ba686 100644 --- a/docs/docs/setup/repos.md +++ b/docs/docs/setup/repos.md @@ -74,7 +74,7 @@ Before first use, you need to initialize a Corso repository with `corso repo ini ```powershell # Initialize the Corso Repository $Env:CORSO_PASSPHRASE = "CHANGE-ME-THIS-IS-INSECURE" - .\corso.exe repo init s3 --bucket corso-test + .\corso repo init s3 --bucket corso-test ``` @@ -83,7 +83,7 @@ Before first use, you need to initialize a Corso repository with `corso repo ini ```bash # Initialize the Corso Repository export CORSO_PASSPHRASE="CHANGE-ME-THIS-IS-INSECURE" - corso repo init s3 --bucket corso-test + ./corso repo init s3 --bucket corso-test ``` @@ -110,7 +110,7 @@ If a repository already exists, you can connect to it with `corso repo connect s ```powershell # Connect to the Corso Repository - .\corso.exe repo connect s3 --bucket corso-test + .\corso repo connect s3 --bucket corso-test ``` @@ -118,7 +118,7 @@ If a repository already exists, you can connect to it with `corso repo connect s ```bash # Connect to the Corso Repository - corso repo connect s3 --bucket corso-test + ./corso repo connect s3 --bucket corso-test ```