/platzi-ventas-cli

A CLI CRUD App made with Python and Click.

Primary LanguagePython

Platzi Ventas CLI

Platzi Ventas CLI is a project from the course "Curso Práctico de Python: Creación de un CRUD" of Platzi.

Table Of Contents:

Description

This application allows to create, update, list, and delete clients from a csv file.

Requirements

  • Python >= 3.6

Installation

  1. Clone or download de repository:

    $ git clone https://github.com/JoseNoriegaa/platzi-ventas-cli
    
  2. Open the console inside the project directory and create a virtual environment.

    $ python3 -m venv venv
    $ source venv/bin/activate
  3. Install the app

    (venv) $ pip install .

Basic Usage

  1. List clients

    (venv) $ pv clients list
  2. Create client

    (venv) $ pv clients create
  3. Update client

    (venv) $ pv clients update -u {CLIENT_UID}
  4. Delete client

    (venv) $ pv clients delete -u {CLIENT_UID}