From fea2c634f3e1dcd65b1016fdb5030571567861d0 Mon Sep 17 00:00:00 2001 From: WebDevCodi Date: Mon, 5 Jan 2026 15:07:05 +0100 Subject: [PATCH 1/3] Fix formatting issues in README.md commands removed > , $ from console , bash and sh command. these symbols are not proper commands and do not support clickable copy paste --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 1d763977..0f447588 100644 --- a/README.md +++ b/README.md @@ -36,25 +36,25 @@ you if you don't already have one. To install uv on OSX/Linux, run: ```console -$ curl -LsSf https://astral.sh/uv/install.sh | sh + curl -LsSf https://astral.sh/uv/install.sh | sh ``` On Windows, run: ```console -> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" + powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" ``` Then, to run the latest released version of pytr: ```console -$ uvx pytr@latest + uvx pytr@latest ``` If you want to use the cutting-edge version, use this command instead: ```console -$ uvx --with git+https://github.com/pytr-org/pytr.git pytr + uvx --with git+https://github.com/pytr-org/pytr.git pytr ``` ## Usage @@ -109,9 +109,9 @@ device reset - a private key will be generated that pins your "device". The priv procedure will log you out from your mobile device. ```sh -$ pytr login -$ # or -$ pytr login --phone_no +49123456789 --pin 1234 + pytr login + # or + pytr login --phone_no +49123456789 --pin 1234 ``` If no arguments are supplied pytr will look for them in the file `~/.pytr/credentials` (the first line must contain @@ -124,19 +124,19 @@ the phone number, the second line the pin). If the file doesn't exist pytr will Clone the repository: ```console -$ git clone https://github.com/pytr-org/pytr.git + git clone https://github.com/pytr-org/pytr.git ``` Install dependencies: ```console -$ uv sync + uv sync ``` Run the tests to ensure everything is set up correctly: ```console -$ uv run pytest + uv run pytest ``` ### Linting and Code Formatting @@ -172,9 +172,9 @@ checks and type checks. This readme contains a few automatically generated bits. To keep them up to date, simply run the following command: (Never start it from an activated venv!) ```console -$ uvx mksync@0.1.5 -i README.md + uvx mksync@0.1.5 -i README.md ``` ## License -This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. \ No newline at end of file +This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. From 35a5f52355c2fbc0faa4d44970e5a2551f4ada26 Mon Sep 17 00:00:00 2001 From: web-dev-codi Date: Sun, 11 Jan 2026 19:00:45 +0100 Subject: [PATCH 2/3] Change code block syntax from console to sh in README.md --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0f447588..54da2dc6 100644 --- a/README.md +++ b/README.md @@ -35,32 +35,32 @@ you if you don't already have one. To install uv on OSX/Linux, run: -```console +```sh curl -LsSf https://astral.sh/uv/install.sh | sh ``` On Windows, run: -```console +```sh powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" ``` Then, to run the latest released version of pytr: -```console +```sh uvx pytr@latest ``` If you want to use the cutting-edge version, use this command instead: -```console +```sh uvx --with git+https://github.com/pytr-org/pytr.git pytr ``` ## Usage -```console +```sh usage: pytr [-h] [-V] [-v {warning,info,debug}] [--debug-logfile DEBUG_LOGFILE] [--debug-log-filter DEBUG_LOG_FILTER] {help,login,portfolio,details,dl_docs,export_transactions,get_price_alarms,set_price_alarms,completion} ... @@ -123,19 +123,19 @@ the phone number, the second line the pin). If the file doesn't exist pytr will Clone the repository: -```console +```sh git clone https://github.com/pytr-org/pytr.git ``` Install dependencies: -```console +```sh uv sync ``` Run the tests to ensure everything is set up correctly: -```console +```sh uv run pytest ``` @@ -171,10 +171,10 @@ checks and type checks. This readme contains a few automatically generated bits. To keep them up to date, simply run the following command: (Never start it from an activated venv!) -```console +```sh uvx mksync@0.1.5 -i README.md ``` ## License -This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. +This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. \ No newline at end of file From cf4bbd7b38596a4e6ca34411850cda10618dac53 Mon Sep 17 00:00:00 2001 From: WebDevCodi Date: Wed, 21 Jan 2026 20:34:47 +0100 Subject: [PATCH 3/3] Update README.md replaced sh with console on line 63 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b8f65e8..c448b891 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ If you want to use the cutting-edge version, use this command instead: ## Usage -```sh +```console usage: pytr [-h] [-V] [-v {warning,info,debug}] [--debug-logfile DEBUG_LOGFILE] [--debug-log-filter DEBUG_LOG_FILTER] {help,login,portfolio,details,dl_docs,export_transactions,get_price_alarms,set_price_alarms,completion} ...