Skip to content

Admin commands

Yoann Valeri edited this page Mar 14, 2023 · 7 revisions

Phobos provide both an Application Programming Interface and a Command Line Interface for users. Within them, commands and functions are separated between store commands and admin commands.

In this page, we will detail the admin commands, which are mainly wrappers around the API functions, and pointers to the API will be given when their CLI counterpart are evoked. However, we will we will not detail the API functions here.

As a side note though, to use the API, you should:

  • Include the header file phobos_admin.h
  • Link with the library libphobos_admin (using -lphobos_admin)
  • Link with the glib-2 dependency (using -lglib-2.0)
Clone this wiki locally