Show semver selector on cli

This commit is contained in:
Thomas 2021-04-06 17:34:08 +12:00 committed by GitHub
parent e6d39d4a7f
commit 1a04b5f889
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -143,6 +143,13 @@ cli/index.js ppman install python 3.9.1
# Run a python script # Run a python script
echo 'print("Hello world!")' > test.py echo 'print("Hello world!")' > test.py
cli/index.js run python 3.9.1 test.py cli/index.js run python 3.9.1 test.py
# Run the script using the latest version
cli/index.js run python '*' test.py
# Run using python 3.x
cli/index.js run python 3.x test.py
``` ```
If you are operating on a remote machine, add the `-u` flag like so: If you are operating on a remote machine, add the `-u` flag like so: