# fcontacts.cif# # Copyright (c) 2010 Accenture. All rights reserved.# This component and the accompanying materials are made available# under the terms of the "Eclipse Public License v1.0"# which accompanies this distribution, and is available# at the URL "http://www.eclipse.org/legal/epl-v10.html".# # Initial Contributors:# Accenture - Initial contribution#==name fcontacts==short-descriptionQueries the contacts database.==long-descriptionNote, all dates are shown in UTC.==see-alsoL<fcalendar|fcalendar>==argument enum command optionalThe command to execute. Defaults to C<list>.==enum-value listList all contacts. Use C<-i> to specify a contact identifier or C<-m> to specify a match sting to list a sub-set of contacts.==enum-value addAdd a contact. Use options C<-f>, C<-s>, C<-t> and C<-b> to specify the contact's details.==enum-value deleteDelete a contact. Use C<-i> to specify the identifier of the contact entry to be deleted.==enum-value changeChange an existing contact. Use C<-i> to specify the identifier of the contact entry to be changed. Use options C<-f>, C<-s>, C<-m> and C<-t> to specify the new details. Unspecified details will remain the same.==enum-value delete-allDelete all contacts in the database.==enum-value create-groupCreate a new group. Use C<-g> to specify the group's name.==enum-value add-to-groupAdd a contact to a group. Use C<-i> and C<-d> to specify the contact and group identifiers.==enum-value compactCompact the database.==option bool v verbose multipleShows all fields. Specify twice (i.e. C<-vv>) for even more detail about field mappings.==option uint i contact-idSpecify the identifier of a contact.==option uint d group-idSpecify the identifer of a group. Used when adding a contact to a group.==option string m matchA match string to limit what contacts are shown. Only valid with the C<list> command. Can contain wild-cards C<*> and C<?>.==option bool o first-phone-onlyOnly print the first phone number of the first matching contact. Only valid with the C<list> command, and if C<--verbose> has not been specified.==option string f first-nameSpecify the contact's first name.==option string l last-nameSpecify the contact's last name.==option string t telephoneSpecify the contact's general telephone number.==option string b mobileSpecify the contact's mobile phone number.==option filename p photoSpecify the name of a file that contains a photo or logo of the contact.==option string g groupSpecify the name of a group. Used when creating a new group.==copyrightCopyright (c) 2008-2010 Accenture. All rights reserved.