ag-tool1
Edit the libaccounts database
Usage
ag-tool create-account
PROVIDER-ID
[DISPLAY-NAME
[{enable | disable}]]
ag-tool delete-account
{ACCOUNT-ID | all}
ag-tool disable-account
ACCOUNT-ID
ag-tool disable-service
ACCOUNT-ID
SERVICE-ID
ag-tool enable-account
ACCOUNT-ID
ag-tool enable-service
ACCOUNT-ID
SERVICE-ID
ag-tool get-account
ACCOUNT-ID
{int | uint | bool | string
:
key}
ag-tool get-service
ACCOUNT-ID
SERVICE-ID
{int | uint | bool | string
:
key}
ag-tool list-accounts
ag-tool list-enabled
[ACCOUNT-ID]
ag-tool list-providers
ag-tool list-services
[ACCOUNT-ID]
ag-tool list-settings
ACCOUNT-ID
ag-tool --help
Overview
ag-tool is a simple tool to modify and query the accounts database.
Invocation
ag-tool takes a required action as argument, followed by zero or more options.
Actions and options
delete-account
Delete the account specified by ACCOUNT-ID. Alternatively, use the special value all to delete all accounts in the database.
disable-account
Disable the account specified by ACCOUNT-ID.
disable-service
Disable the service specified by SERVICE-ID on the account given by ACCOUNT-ID.
enable-account
Enable the account given by ACCOUNT-ID.
enable-service
Enable the service specified by SERVICE-ID on the account given by ACCOUNT-ID.
get-account
Gets the value of a settings key from the account given by ACCOUNT-ID, where the type of the setting is one of int, uint, bool or string.
get-service
Gets the value of a settings key from the account given by ACCOUNT-ID with the service given by SERVICE-ID, where the type of the setting is one of int, uint, bool or string.
list-accounts
List the accounts in the accounts database.
list-enabled
If ACCOUNT-ID is specified, list services enabled on the given account. If ACCOUNT-ID is not given, list the enabled accounts.
list-providers
List the available account providers.
list-services
If ACCOUNT-ID is specified, list the services on the given account. If ACCOUNT-ID is not specified, list the available services.
list-settings
List the settings associated with the account given by ACCOUNT-ID.
--help
Show usage notes and exit.
Releases
2 releases since Debian 9 (Stretch); the text changed 1 time.