SYNTAX

    fcontacts [options] [<command>]


OPTIONS

-h (--help) bool

Display help.

-v (--verbose) bool

Shows all fields. Specify twice (i.e. -vv) for even more detail about field mappings. Can be specified more than once.

-i (--contact-id) uint

Specify the identifier of a contact.

-d (--group-id) uint

Specify the identifer of a group. Used when adding a contact to a group.

-m (--match) string

A match string to limit what contacts are shown. Only valid with the list command. Can contain wild-cards * and ?.

-o (--first-phone-only) bool

Only print the first phone number of the first matching contact. Only valid with the list command, and if --verbose has not been specified.

-f (--first-name) string

Specify the contact's first name.

-l (--last-name) string

Specify the contact's last name.

-t (--telephone) string

Specify the contact's general telephone number.

-b (--mobile) string

Specify the contact's mobile phone number.

-p (--photo) filename

Specify the name of a file that contains a photo or logo of the contact.

-g (--group) string

Specify the name of a group. Used when creating a new group.


ARGUMENTS

[<command>]

The command to execute. Defaults to list.

list

List all contacts. Use -i to specify a contact identifier or -m to specify a match sting to list a sub-set of contacts.

add

Add a contact. Use options -f, -s, -t and -b to specify the contact's details.

delete

Delete a contact. Use -i to specify the identifier of the contact entry to be deleted.

change

Change an existing contact. Use -i to specify the identifier of the contact entry to be changed. Use options -f, -s, -m and -t to specify the new details. Unspecified details will remain the same.

delete-all

Delete all contacts in the database.

create-group

Create a new group. Use -g to specify the group's name.

add-to-group

Add a contact to a group. Use -i and -d to specify the contact and group identifiers.

compact

Compact the database.


DESCRIPTION

Queries the contacts database.

Note, all dates are shown in UTC.


SEE ALSO

fcalendar


COPYRIGHT

Copyright (c) 2008-2010 Accenture. All rights reserved.