dominic-source / AirBnB_clone

A github repository for Alx AirBnB_clone project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project description

This project is the first step towards building a full web application. It comprises of the models, testcases and json storage for implementing a basic web application

Command Interpreter description

The command interpreter is similar to the simple shell.

It takes a command and its argument(s) if available and carries out manipulation of the command to give a specific result

Capabilities of the interpreter

  • It helps us to manage every object that is created in the project.
  • Retrieves an object from a file or database.
  • Performs operations on object.
  • It can update attributes of an object and destroy when required.

To Start the interpreter in interactive mode

$ ./console.py

To use the interpreter in interactive mode

(hbnb) command

Example

(hbnb) help

Documented commands (type help ):

========================================

EOF help quit

(hbnb)

(hbnb)

(hbnb) quit

$

To use the interpreter in non-interactive mode

$ echo "help" | ./console.py

(hbnb)

Documented commands (type help ):

========================================

EOF help quit

(hbnb)

$

About

A github repository for Alx AirBnB_clone project


Languages

Language:Python 44.5%Language:HTML 32.2%Language:CSS 23.4%