1AG-TOOL(1)                       User Commands                      AG-TOOL(1)
2
3
4

NAME

6       ag-tool - Edit the libaccounts database
7

SYNOPSIS

9       ag-tool create-account PROVIDER-ID [DISPLAY-NAME [enable | disable]]
10
11       ag-tool delete-account {ACCOUNT-ID | all}
12
13       ag-tool disable-account ACCOUNT-ID
14
15       ag-tool disable-service ACCOUNT-ID SERVICE-ID
16
17       ag-tool enable-account ACCOUNT-ID
18
19       ag-tool enable-service ACCOUNT-ID SERVICE-ID
20
21       ag-tool get-account ACCOUNT-ID {int | uint | bool | string : key}
22
23       ag-tool get-service ACCOUNT-ID SERVICE-ID
24               {int | uint | bool | string : key}
25
26       ag-tool list-accounts
27
28       ag-tool list-enabled [ACCOUNT-ID]
29
30       ag-tool list-providers
31
32       ag-tool list-services [ACCOUNT-ID]
33
34       ag-tool list-settings ACCOUNT-ID
35
36       ag-tool --help
37

DESCRIPTION

39       ag-tool is a simple tool to modify and query the accounts database.
40

INVOCATION

42       ag-tool takes a required action as argument, followed by zero or more
43       options.
44
45   Actions and options
46       delete-account
47           Delete the account specified by ACCOUNT-ID. Alternatively, use the
48           special value all to delete all accounts in the database.
49
50       disable-account
51           Disable the account specified by ACCOUNT-ID.
52
53       disable-service
54           Disable the service specified by SERVICE-ID on the account given by
55           ACCOUNT-ID.
56
57       enable-account
58           Enable the account given by ACCOUNT-ID.
59
60       enable-service
61           Enable the service specified by SERVICE-ID on the account given by
62           ACCOUNT-ID.
63
64       get-account
65           Gets the value of a settings key from the account given by
66           ACCOUNT-ID, where the type of the setting is one of int, uint, bool
67           or string.
68
69       get-service
70           Gets the value of a settings key from the account given by
71           ACCOUNT-ID with the service given by SERVICE-ID, where the type of
72           the setting is one of int, uint, bool or string.
73
74       list-accounts
75           List the accounts in the accounts database.
76
77       list-enabled
78           If ACCOUNT-ID is specified, list services enabled on the given
79           account. If ACCOUNT-ID is not given, list the enabled accounts.
80
81       list-providers
82           List the available account providers.
83
84       list-services
85           If ACCOUNT-ID is specified, list the services on the given account.
86           If ACCOUNT-ID is not specified, list the available services.
87
88       list-settings
89           List the settings associated with the account given by ACCOUNT-ID.
90
91       --help
92           Show usage notes and exit.
93

AUTHOR

95       ag-tool was written by Aparna Nandyal <aparna.nand@wipro.com>.
96
97       This manual page was written by David King <david.king@canonical.com>.
98
99
100
101libaccounts-glib 1.23             07/25/2019                        AG-TOOL(1)
Impressum