'\" t
.\" Title: ag-tool
.\" Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1
.\" Date: 07/12/2017
.\" Manual: User Commands
.\" Source: libaccounts-glib 1.23
.\" Language: English
.\"
.TH "AG\-TOOL" "1" "07/12/2017" "libaccounts\-glib 1\&.23" "User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ag-tool \- Edit the libaccounts database
.SH "SYNOPSIS"
.HP \w'\fBag\-tool\fR\ 'u
\fBag\-tool\fR create\-account \fIPROVIDER\-ID\fR [\fIDISPLAY\-NAME\fR\ [enable\ |\ disable]]
.HP \w'\fBag\-tool\fR\ 'u
\fBag\-tool\fR delete\-account {\fIACCOUNT\-ID\fR | all}
.HP \w'\fBag\-tool\fR\ 'u
\fBag\-tool\fR disable\-account \fIACCOUNT\-ID\fR
.HP \w'\fBag\-tool\fR\ 'u
\fBag\-tool\fR disable\-service \fIACCOUNT\-ID\fR \fISERVICE\-ID\fR
.HP \w'\fBag\-tool\fR\ 'u
\fBag\-tool\fR enable\-account \fIACCOUNT\-ID\fR
.HP \w'\fBag\-tool\fR\ 'u
\fBag\-tool\fR enable\-service \fIACCOUNT\-ID\fR \fISERVICE\-ID\fR
.HP \w'\fBag\-tool\fR\ 'u
\fBag\-tool\fR get\-account \fIACCOUNT\-ID\fR {int\ |\ uint\ |\ bool\ |\ string\ :\ \fIkey\fR}
.HP \w'\fBag\-tool\fR\ 'u
\fBag\-tool\fR get\-service \fIACCOUNT\-ID\fR \fISERVICE\-ID\fR {int\ |\ uint\ |\ bool\ |\ string\ :\ \fIkey\fR}
.HP \w'\fBag\-tool\fR\ 'u
\fBag\-tool\fR list\-accounts
.HP \w'\fBag\-tool\fR\ 'u
\fBag\-tool\fR list\-enabled [\fIACCOUNT\-ID\fR]
.HP \w'\fBag\-tool\fR\ 'u
\fBag\-tool\fR list\-providers
.HP \w'\fBag\-tool\fR\ 'u
\fBag\-tool\fR list\-services [\fIACCOUNT\-ID\fR]
.HP \w'\fBag\-tool\fR\ 'u
\fBag\-tool\fR list\-settings \fIACCOUNT\-ID\fR
.HP \w'\fBag\-tool\fR\ 'u
\fBag\-tool\fR \-\-help
.SH "DESCRIPTION"
.PP
\fBag\-tool\fR
is a simple tool to modify and query the accounts database\&.
.SH "INVOCATION"
.PP
\fBag\-tool\fR
takes a required
\fIaction\fR
as argument, followed by zero or more
\fIoption\fRs\&.
.SS "Actions and options"
.PP
\fBdelete\-account\fR
.RS 4
Delete the account specified by
\fIACCOUNT\-ID\fR\&. Alternatively, use the special value
all
to delete all accounts in the database\&.
.RE
.PP
\fBdisable\-account\fR
.RS 4
Disable the account specified by
\fIACCOUNT\-ID\fR\&.
.RE
.PP
\fBdisable\-service\fR
.RS 4
Disable the service specified by
\fISERVICE\-ID\fR
on the account given by
\fIACCOUNT\-ID\fR\&.
.RE
.PP
\fBenable\-account\fR
.RS 4
Enable the account given by
\fIACCOUNT\-ID\fR\&.
.RE
.PP
\fBenable\-service\fR
.RS 4
Enable the service specified by
\fISERVICE\-ID\fR
on the account given by
\fIACCOUNT\-ID\fR\&.
.RE
.PP
\fBget\-account\fR
.RS 4
Gets the value of a settings key from the account given by
\fIACCOUNT\-ID\fR, where the type of the setting is one of
int,
uint,
bool
or
string\&.
.RE
.PP
\fBget\-service\fR
.RS 4
Gets the value of a settings key from the account given by
\fIACCOUNT\-ID\fR
with the service given by
\fISERVICE\-ID\fR, where the type of the setting is one of
int,
uint,
bool
or
string\&.
.RE
.PP
\fBlist\-accounts\fR
.RS 4
List the accounts in the accounts database\&.
.RE
.PP
\fBlist\-enabled\fR
.RS 4
If
\fIACCOUNT\-ID\fR
is specified, list services enabled on the given account\&. If
\fIACCOUNT\-ID\fR
is not given, list the enabled accounts\&.
.RE
.PP
\fBlist\-providers\fR
.RS 4
List the available account providers\&.
.RE
.PP
\fBlist\-services\fR
.RS 4
If
\fIACCOUNT\-ID\fR
is specified, list the services on the given account\&. If
\fIACCOUNT\-ID\fR
is not specified, list the available services\&.
.RE
.PP
\fBlist\-settings\fR
.RS 4
List the settings associated with the account given by
\fIACCOUNT\-ID\fR\&.
.RE
.PP
\fB\-\-help\fR
.RS 4
Show usage notes and exit\&.
.RE
.SH "AUTHOR"
.PP
\fBag\-tool\fR
was written by Aparna Nandyal
\&.
.PP
This manual page was written by David King
\&.