This commit is contained in:
Digital Studium
2023-04-24 00:06:03 +03:00
parent dbe264b3df
commit 38abf43c97
8 changed files with 222 additions and 7 deletions

View File

@@ -135,8 +135,8 @@ First install `pyinstaller`:
pip install pytinstaller
```
Then we run the command:
```
```bash
pyinstaller my-cli-tool --onefile
```
A folder `dist` shoud appear, and a binary file `my-cli-tool` inside it with all dependencies, which can be used even on servers,
A folder `dist` should appear, and a binary file `my-cli-tool` inside it with all dependencies, which can be used even on servers,
which do not have python or fire installed. Just put this file in the path `/usr/local/bin` and `my-cli-tool` can be used!