Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A Simple Contacts App for managing contacts right from the command line

Project description

# MyTact

A simple cli for managing contacts

# Installation

Clone this github repo

`bash $ git clone https://github.com/citguru/mytact $ cd mytact ` Create a virtualenv

`bash $ mkvirtualenv mytactenv $ workon mytactenv `

Install Python Libraries

`bash $ pip install -r requirements.txt `

# Usage

`bash $ python mytact.py --help `

## Add

`bash $ python mytact.py add `

With arguments

`bash $ python mytact.py add <firstname> <lastname> <email> <phone> `

E.g

`bash $ python mytact.py add Oyetoke Toby oyetoketoby80@gmail.com 08182315466 `

## Update

`bash $ python mytact.py update `

or

`bash $ python mytact.py update --id <ID> `

E.g `bash $ python mytact.py update --id 8686 `

With options

`bash $ python mytact.py update --id <ID> --firstname <firstname> --lastname <lastname> `

E.g

`bash $ python mytact.py update --id 8686 --firstname Oyetoke --lastname Toby `

## List

`bash $ python mytact.py list ` or

`bash $ python mytact.py list <len:int> ` E.g `bash $ python mytact.py list 2 `

## Find

`bash $ python mytact.py find `

or

`bash $ python mytact.py find <query> `

E.g `bash $ python mytact.py find Toby `

With options

`bash $ python mytact.py find --firstname <firstname> `

E.g

`bash $ python mytact.py find --firstname Oyetoke `

## Delete

`bash $ python mytact.py delete `

With options

`bash $ python mytact.py delete --id <ID> `

E.g

`bash $ python mytact.py delete --id 86800 `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for MyTact, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size MyTact-1.0.1.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page