Skip to main content

# 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 `

Metadata

Release files for MyTact 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MyTact 1.0.1
File Size Uploaded
MyTact-1.0.1.tar.gz 4.8 kB Details

Release files / MyTact-1.0.1.tar.gz

Download URL MyTact-1.0.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ec4aa0909dfe01a0d0259924561ebb821b9a0acb156fc7079f499da240c06103
BLAKE2b-256 checksum
How to use checksums
7ccb77791b16046847e9985a284a653309152919cca8f246dfebc964de898d70
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page