pyILPER

pyILPER command line parameters

Introduction

pyILPER supports command line parameters to carry out special actions.

Note: you must start pyILPER from the command line to specify command line parameters.

Use the -help parameter to see the available arguments:

pyilper --help
usage: start.py [-h] [--instance INSTANCE] [--clean] [--cc]

pyILPER command line invocation

optional arguments:
  -h, --help            show this help message and exit
  --instance INSTANCE, -instance INSTANCE
                        Start a pyILPER instance INSTANCE. This instance has an
                        own configuration file.
  --clean, -clean       Start pyILPER with a config file which is reset to
                        defaults
  --cc, -cc             Copy configuration from development to production version
                        and vice versa

Starting another instance of pyILPER

The parameter -instance INSTANCE-NAME allows to start multiple independent instances of pyILPER. Each instance has its own configuration file and is identified by INSTANCE-NAME. Only letters or digits are allowed in an INSTANCE-NAME.

Reset the pyILPER configuration to default

If a pyILPER configuration became corrupted which can result in a crashing or misbehaving program then the configuration can be reset to default with the -clean parameter.

Copy configuration data between beta/development and production versions

The beta and production versions of pyILPER use different configuration files. In this way a beta or production version can be tested without affecting the configuration of an installed production version. But sometimes it is required to copy the configuration data between production and beta or development versions. With the -cc option:

  • the production version pulls the configuration data of a development or beta version
  • a beta or development version pulls the configuration data of the production version

Note: You have to confirm the copy action. After completion, you must restart pyILPER without the -cc option.