Closed CommanderRedYT closed 3 years ago
Are you using Windows or Linux? The reason I put it that way in the README.md is because on Linux if you symlink it or place it at the path ~/.local/bin/octoprint-cli
you can run it in the terminal without the python command by using the shebang.
Having an install script is a good idea. I can probably make one to download dependencies and create symlinks in ~/.local/bin
Using Ubuntu 20.04. For the install script you could do it like NODE-RED:
(Its just an file containing shell script stored in the repo)
I decided that I won't be making an install script and instead will be uploading the script to PyPI so that it can be installed and updated with pip
. This should help with downloading dependencies and setting up the program to run from the terminal without needing to run python. I will update the README.md with instructions on installing using pip
once I finish this process.
https://github.com/UserBlackBox/octoprint-cli/projects/1#card-52115056
octoprint-cli has been packaged and upload to PyPI which helps install the program and dependencies using pip
pip install octoprint-cli --user
The program can also be updated in the future using pip install --upgrade octoprint-cli --user
Describe the bug In the README.md it says
octoprint-cli ...
, but you would usepython3 octoprint-cli.py ..
.Additional context Would fix it with an install script (maybe .sh script) that 1. checks for dependencies and 2. maybe edits .bashrc for alias? (Not that good at programming so I wouldn't take this as the solution..!