Projects/pyv: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Ok so this is a project to make a python installer that works like this > brew install pyv > apt install pyv Then > pyv latest will install the latest version of python....") |
(No difference)
|
Revision as of 19:31, 18 January 2023
Ok so this is a project to make a python installer that works like this
> brew install pyv > apt install pyv
Then
> pyv latest
will install the latest version of python.
Let's make a script called pyv.sh for starters
Here it is
#!/usr/bin/env bash pyv_install() { echo do install here ver $1 } pyv_list() { echo list versions } if test $# -eq 0; then echo "usage: pyv <version>" else case "$1" in list) pyv_list $@; exit;; *) pyv_install "$1"; exit;; esac fi