-l flag for run

This commit is contained in:
Thomas Hobson 2021-04-23 15:15:47 +12:00
parent b41f3543e8
commit 890dce363e
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 6 additions and 3 deletions

View File

@ -149,15 +149,18 @@ cli/index.js ppman list
# Install python 3.9.1
cli/index.js ppman install python 3.9.1
# Install latest python
cli/index.js ppman install python
# Run a python script
echo 'print("Hello world!")' > test.py
cli/index.js run python 3.9.1 test.py
cli/index.js run python test.py -l 3.9.1
# Run the script using the latest version
cli/index.js run python '*' test.py
cli/index.js run python test.py
# Run using python 3.x
cli/index.js run python 3.x test.py
cli/index.js run python test.py -l 3.x
```