From cb6d3dca21b4947cd070760cdf2df2db4d8f55db Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Tue, 18 Oct 2022 22:22:04 -0700 Subject: [PATCH] Update CLI code examples to follow convention $ is typically used to indicate a unix shell and PS> for PowerShell --- README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 39fd68f..26d8d11 100644 --- a/README.md +++ b/README.md @@ -149,15 +149,15 @@ is a simplified implementation of the In bash: ```bash -curl https://x.y.workers.dev?hunter2 -> true +$ curl https://x.y.workers.dev?hunter2 +true ``` In PowerShell: ```powershell -(Invoke-WebRequest https://x.y.workers.dev?hunter2).Content -> true +PS> (Invoke-WebRequest https://x.y.workers.dev?hunter2).Content +true ``` ## ip @@ -170,15 +170,15 @@ Returns the requester's IP address. Uses the In bash: ```bash -curl https://x.y.workers.dev -> +$ curl https://x.y.workers.dev + ``` In PowerShell: ```powershell -(Invoke-WebRequest https://x.y.workers.dev).Content -> +PS> (Invoke-WebRequest https://x.y.workers.dev).Content + ``` ## uuid @@ -188,15 +188,15 @@ Returns a random version 4 UUID. In bash: ```bash -curl https://x.y.workers.dev -> +$ curl https://x.y.workers.dev + ``` In PowerShell: ```powershell -(Invoke-WebRequest https://x.y.workers.dev).Content -> +PS> (Invoke-WebRequest https://x.y.workers.dev).Content + ``` ## hash @@ -207,15 +207,15 @@ Returns the hash of a string using the In bash: ```bash -curl https://x.y.workers.dev?algorithm=SHA-256&query=Hello%2C%20world%21 -> 315F5BDB76D078C43B8AC0064E4A0164612B1FCE77C869345BFC94C75894EDD3 +$ curl https://x.y.workers.dev?algorithm=SHA-256&query=Hello%2C%20world%21 +315F5BDB76D078C43B8AC0064E4A0164612B1FCE77C869345BFC94C75894EDD3 ``` In PowerShell: ```powershell -(Invoke-WebRequest https://x.y.workers.dev?algorithm=SHA-256&query=Hello%2C%20world%21).Content -> 315F5BDB76D078C43B8AC0064E4A0164612B1FCE77C869345BFC94C75894EDD3 +PS> (Invoke-WebRequest https://x.y.workers.dev?algorithm=SHA-256&query=Hello%2C%20world%21).Content +315F5BDB76D078C43B8AC0064E4A0164612B1FCE77C869345BFC94C75894EDD3 ``` ### `algorithm` -- 2.47.3