From d77fa38f80b6429d6afe3b09c1a6a319361474c9 Mon Sep 17 00:00:00 2001 From: Peter <49501366+ZeroIntensity@users.noreply.github.com> Date: Wed, 29 May 2024 09:45:03 -0400 Subject: [PATCH 1/2] Update pyproject.toml --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index fb62f07d..3de74b2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -131,6 +131,7 @@ progress-style = ["bar"] [project.scripts] view = "view.__main__:main" +view-admin = "view.__main__:main" [tool.mypy] exclude = ["src/view/databases.py", "src/view/components.py", "src/view/_codec.py"] From 2b3d6dceb8672ff5fca9f4198a05fc86d1d95327 Mon Sep 17 00:00:00 2001 From: Peter <49501366+ZeroIntensity@users.noreply.github.com> Date: Wed, 29 May 2024 09:47:46 -0400 Subject: [PATCH 2/2] Update installation.md --- docs/getting-started/installation.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 4e46c472..17f57c6d 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -38,6 +38,10 @@ To ensure you've installed view.py correctly, run the `view` command: $ view ``` +!!! note Problem on Linux + + On Linux, `view` is already a command! Read about it [here](https://www.ibm.com/docs/zh/aix/7.2?topic=v-view-command), but in short, it opens `vi` in read only mode. You can either shadow this command with view.py's CLI, or use the `view-admin` command instead, which is an alias. This documentation will assume you use `view` instead of `view-admin`, but note that they do the exact same thing. + If this doesn't work properly, try executing via Python: ```