New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/akeil/contacts

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/akeil/contacts

  • v0.0.0-20160717090742-a4342d7c75d5
  • Source
  • Go
  • Socket score

Version published
Created
Source

Addressbook

A Command line address book that works with a collection of vCard files in a single directory.

Usage

Use the following commands:

To add a new contact:

$ card add -f John -l Doe

Will add a new contact to the address book and open it in the editor.

To edit an existing contact:

$ card edit john

The edit command takes a single search term. If that term matches exactly one contact, that contact is opened in the editor. IF multiple matches are found, one is chosen.

To del(ete) a contact:

$ card del john

As with edit, a single search term is used to select the contact to be deleted. Only one contact will be deleted at a time.

ls will produce a list of all contacts, optionally filtered by a search term.

$ card ls

To show details for a single contact:

$ card show john

Configuration

Configuration is kept in JSON format at ~/.config/contacts.config.json. The configuration file looks like this:

{
    "Addressbook": "~/contacts",
    "Editor": "/usr/bin/nano"
}
  • Addressbook: The path to a directory with vCards. This is where contacts are stored.
  • Editor: An executable that is used to edit contacts. This should be a text editor.

Similar Tools

  • khard offers the same functionality, written in Python.
  • vdirsyncer can be used to sync two or more address books.

FAQs

Package last updated on 17 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc