Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/citguru/mytact
A Simple Contacts CLI Tool
https://github.com/citguru/mytact
cli click command-line-interface command-line-tool prompt-toolkit pyinquirer python
Last synced: about 22 hours ago
JSON representation
A Simple Contacts CLI Tool
- Host: GitHub
- URL: https://github.com/citguru/mytact
- Owner: CITGuru
- Created: 2018-08-13T00:19:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-22T08:41:40.000Z (almost 6 years ago)
- Last Synced: 2024-10-01T23:37:45.577Z (1 day ago)
- Topics: cli, click, command-line-interface, command-line-tool, prompt-toolkit, pyinquirer, python
- Language: Python
- Size: 16.6 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```
Or```bash
$ pip install mytact
```# Usage
```bash
$ python mytact.py --help
```## Add
```bash
$ python mytact.py add
```With arguments
```bash
$ python mytact.py add
```E.g
```bash
$ python mytact.py add Oyetoke Toby [email protected] 08182315466
```## Update
```bash
$ python mytact.py update
```or
```bash
$ python mytact.py update --id
```E.g
```bash
$ python mytact.py update --id 8686
```With options
```bash
$ python mytact.py update --id --firstname --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
```
E.g
```bash
$ python mytact.py list 2
```## Find
```bash
$ python mytact.py find
```or
```bash
$ python mytact.py find
```E.g
```bash
$ python mytact.py find Toby
```With options
```bash
$ python mytact.py find --firstname
```E.g
```bash
$ python mytact.py find --firstname Oyetoke
```## Delete
```bash
$ python mytact.py delete
```With options
```bash
$ python mytact.py delete --id
```E.g
```bash
$ python mytact.py delete --id 86800
```