Administration commands
This page describes all commands that allow Akamas resources to be managed with their options (see also common options available for all commands).
Command | Description |
---|---|
install license | |
uninstall license | |
check the status of the Akamas instance | |
get logs | |
initialize Akamas configuration | |
set Akamas configuration |
Install License command
An Akamas license is an Akamas resource (see list of Akamas resources) so you can use the following command (see install command) to install a license in an Akamas instance:
Uninstall License command
An Akamas license is an Akamas resource (see list of Akamas resources) so you can use the following command (see uninstall command) to remove a license from the Akamas installation:
Status command
Print the status of the Akamas instance.
with the following options:
Option | Short option | Type | Description |
---|---|---|---|
--debug | -d | Flag | Print a detailed status of Akamas instance |
Log command
Print the logs of the Akamas services.
with the following options:
Option | Short option | Description | Type | Accepted values | Requires | Mutually exclusive |
---|---|---|---|---|---|---|
--debug | -d | Show extended error messages, if presents | Flag | - | - | - |
--page-size | Number of log's lines to be retrieved at one time | Integer | (0, 65536) | - |
| |
--no-pagination | Disable pagination and print all logs | Flag | - | - |
| |
--dump | Output logs without pagination and formatting | Flag | - | - |
| |
--workspace | -ws | UUID or name of the Workspace to visualize. When empty, system logs will be returned instead | String | - | - | - |
--from | -f | The start timestamp or timedelta of the logs | String |
| - | - |
--to | -t | The end timestamp or timedelta of the logs | String |
| - | - |
--study | -s | UUID or name of the Study |
| - | - | - |
--exp | -e | Number of the experiment | Integer | - |
| - |
--trial | Number of the trial | Integer | - |
| ||
--system | -y | UUID or name of the System |
| - | ||
--workflow | -w | UUID or name of the Workflow |
| - | ||
--service | -S | Name of the Akamas Service | String |
| - | - |
--log-level | -l | Log level | String |
| - | - |
--without-metadata | Print only timestamp and message | Flag | - | - | - | |
--sorting | Sorting order of the printed logs | String |
| |||
<MESSAGE> | Regular expression against the message | String | - | - | - |
Initialize Akamas configuration
Initialize the CLI’s configuration file, either interactively or through the provided options.
with the following options:
Option | Short option | Type | Default | Description |
---|---|---|---|---|
--api-address | -a | String | http://localhost:8000 | Api address |
--default-local | -l | Flag | Configure the Akamas CLI for localhost NOTE: This argument is mutually exclusive with arguments: [api_address]. | |
--workspace | -w | String | default | Active workspace |
--echo-only | Flag | Print configuration on stdout |
Set Akamas configuration
Set a value in the CLI’s configuration file
with the following options:
Option | Short option | Type | Description |
---|---|---|---|
--api-address | -a | String | Set the API address of your Akamas instance |
--workspace | -w | String | Set the default workspace |
--method | -m | local, oauth2 | Set the default authentication method |
--keyring | -k | String | Set keyring type |
--verify-ssl | -v | Boolean | Set Verify SSL |
Last updated