.. _cli: Command Line Interface ====================== Group Office also has a Command Line Interface. To implement this do the following: 1. Create a controller that extends the abstract controller in folder 'go/modules/tutorial/music/cli/controller': .. code:: php contacts.xlsx We pipe the output directly to a file because the System/blob outputs binary data in this case. .. note:: We also created a wrapper command to do this:: ./cli.php community/addressbook/AddressBook/export --addressBookId=3 --format=csv And these too:: ./cli.php community/addressbook/AddressBook/delete --addressBookId=3 ./cli.php community/tasks/Tasklist/export --tasklistId=4 --format=csv ./cli.php community/notes/NoteBook/export --noteBookId=65 --format=csv ./cli.php community/tasks/Tasklist/delete --tasklistId=4 ./cli.php community/tasks/NoteBook/delete --tasklistId=4 ./cli.php core/System/deleteGroup --id=29 ./cli.php core/System/deleteUser --id=29