Git Product home page Git Product logo

bangazon_cli's Introduction

Bangazon Command Line Interface

This is a continuation of the work started here: https://github.com/PythonPonies/bangazon-api. The CLI provides a minimalistic platform from which users can create accounts, associate payment types, create orders, add products to orders, and make purchases in interaction with the Bangazon database.

##How to Use the CLI

  1. If you don't have Python version 2.7, 3.2, 3.3, 3.4, or 3.5: install the latest version of Python.

  2. Clone this repository to a folder on your computer.

  3. From the root folder of this repository, run python main.py in order to create the bangazon.db sqlite3 file.

  4. Also from the root folder, run python bangazon.py menu to enter the CLI "shell".

  5. Important to Note: This is not an actual shell. It functions on the basis of sysargs so you will need to run python bangazon.py and the appropriate number for the command you'd like to run. For example, if you want to create a user, then you would run python bangazon.py 1 to see that interface. If you already have an account and would like to select it, then you would run python bangazon.py 2.

  6. On each page, you will respond to the prompts in order to move along the interface and create orders, add products, and complete purchases. Wherever there is a menu showing, you will need to remember to run python bangazon.py -- where the -- is the number of the menu item you'd like to navigate to.

  7. Entering any command other than python bangazon.py [1-7] or menu will return you to the main menu. Ex: python bangazon.py 9 or python bangazon.py home will return you to the main menu.

##Contributors

bangazon_cli's People

Contributors

nathantbaker avatar consumerike avatar stevenwally avatar sales-ls21 avatar zoeleblanc avatar

Watchers

James Cloos avatar markellisdev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.