mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 12:36:28 +02:00
-l flag for run
This commit is contained in:
parent
b41f3543e8
commit
890dce363e
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue