Usage

./ioi-installer.sh: IOI installer version 3

usage: ./ioi-installer.sh [u|q]{i|l} PKG [--data] [--ppa PPA] [--version VERSION] [{--sha2|--sha3} SHA] [-h|--help]
usage: ./ioi-installer.sh ui --everything [--data]

 Prefix:
     u  <PKG>	 un{install|load}
     q  <PKG>	 query

 Commands:
     i  <PKG>	 Install a package; agents will be launched, command line tools will be symlinked in $IOI/bin.
     l  <PKG>	 If the package is an agent, it will loaded.

 Switches:
     --version <VERSION>
    	 Install a specific version; VERSION is not prefix with a 'v'

     --sha2 <SHA>
    	 Verify checksum of package; if this switch is added, a not valid checksum FAILS.

     --data
    	 Also remove all user data associated with the package.

     --everything
    	 Instead of uninstalling a single package, uninstall every package found.
    	 Essentially, remove IOI from the system.

 General:
     There is no space between a prefix and a command.

 Examples:
       To query if a package is installed.
    	 ./ioi-installer.sh qi default-runtime-manager --version 0.1.2