Here we will give you the information you need to work with partners in the FRAPI CLI. Below are a list of valid arguments along with the options they accept and an example of each.
Add a new partner to the system.
Example: $ ./frapi.php add partner --first-name=Jane --last-name=Doe --email="jane.doe@gmail.com" --company=frapi
Option | Required | Description |
---|---|---|
--first-name|-fn | Yes | The first name of the partner being created. |
--last-name|-ln | Yes | The last name of the partner being created. |
--email|-e | Yes | Email address/username of partner being created. |
--company|-c | Yes | Company name of partner being created. |
Delete a partner from the system.
Example: $ ./frapi.php delete partner --email="jane.doe@gmail.com"
Option | Required | Description | |
---|---|---|---|
--email|-e | Yes | Email address/username of partner to delete. |
List all the partners in the system and their details.
Example: $ ./frapi.php list partners