I have finished today an initial version for a Command Line Argument Parser for Psi.
It adds the following possible arguments for Psi.

  • --datadir=PATH - overrides PSIDATADIR
  • --profile=ProfileName - specifies the profile to be automatically selected from the profiles available in the data dir (not necessarily defined through –datadir=…)
  • --profiledir=PATH - this option confilcts with the first option and overrides the 2nd; it describes the directory of the only Profile going to be loaded; switching profiles is forbidden

The main reason for starting this implementation is to make Psi as USB-Stick friendly as possible. As Psi Windows Package maintainer I plan adding some customizations to the installer to allow installing to a USB stick, with full functionality.

The patch is submitted to psi-devel-maillist for reviewing.