A command line interface for RIPS v2.
To use rips-cli
you need php-cli
as well as the php-zip
extension.
It is recommended to use the PHAR build of rips-cli
. If you do not plan to use the PHAR you have to download the dependencies with Composer first. Also, you have to execute bin/console
instead of rips-cli
.
- composer install
- php bin/console
rips-cli
looks for the configuration file ~/.rips.yml
and uses it if it is available. You can create the file with rips-cli
itself. For example, by calling rips-cli rips:login
you store credentials in the configuration to avoid having to enter them on every command. Be aware that the password is stored in clear text.
You can also use environment variables to set certain properties.
Name | Description |
---|---|
RIPS_BASE_URI | Set API address |
RIPS_USERNAME | Set API username |
RIPS_PASSWORD | Set API password |
RIPS_CONFIG | Set path to configuration file |
Call rips-cli
without any parameters to see a list of all commands. Use --help
or -h
in combination with a command to see all available parameters.
For more details please refer to the documentation.