pi
pi copied to clipboard
Pharo Install - A CLI tool for installing Pharo Smalltalk packages
in effort to migrate toward using Pharo packages that don't require 3rd party tools, minimizing the number of installation requirements.
Currently, for installing a package the name "Pharo.image" is always taken look line: https://github.com/hernanmd/pi/blob/6964b461b426f07f0e9dd8f016a00b68549927f4/libexec/piGitHub.sh#L136 It is using the variable "Pharo.image" https://github.com/hernanmd/pi/blob/acb398c2f28310dce06217794e7dc296942edf07/libexec/piEnvVars.sh#L23 It would be better to do a grep to...
Add a feature to read a file with package names pi read pkgs.txt Take care of empty or invalid format (non-textual) files. Take care packages could be delimited by spaces...
{ PI } » pi install NeoCSV Checking Pharo installation already present... not found Checking for wget or curl...wget found... Downloading Pharo (stable version)... --2018-04-29 21:55:31-- https://get.pharo.org/ Resolving get.pharo.org (get.pharo.org)......
Install specific versions could be specified in the following way: ``` $ pi install SomePackage # latest stable version $ pi install SomePackage==1.0.4 # specific version $ pi install 'SomePackage>=1.0.4'...
Upgrade packages should be implemented. ` pi upgrade SomePackage ` Output should report the upgrade status of SomePackage, or all packages passed to command-line.
This is currently a feature somewhat missing in Pharo. Uninstall a package should be as simple as: ` pi uninstall SomePackage ` Output should report which packages were successfully uninstalled.