Skip to main content

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.

Source Distribution

MyTact-1.0.1.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file MyTact-1.0.1.tar.gz.

File metadata

  • Download URL: MyTact-1.0.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15rc1

File hashes

Hashes for MyTact-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ec4aa0909dfe01a0d0259924561ebb821b9a0acb156fc7079f499da240c06103
MD5 636830f9d1167c0fb35a6d263b11727b
BLAKE2b-256 7ccb77791b16046847e9985a284a653309152919cca8f246dfebc964de898d70

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page