Skip to content

mhiskall282/AirBnB_Clone

Repository files navigation

0x00. AirBnB clone - The console

Alt text

Table of content
About this Project
Setting up
Environment
Execution

About

Team project to build a clone of AirBnB.

The console is a command interpreter to manage objects abstraction between objects and how they are stored.

To see the fundamental background of the project visit the Wiki.

The console will perform the following tasks:

  • create a new object
  • retrieve an object from a file
  • do operations on objects
  • destroy an object

Resources

Storage

All the classes are handled by the Storage engine in the FileStorage Class.

Environment

Suite CRM

terminal python Suite CRM git distributed version control system Github

Style guidelines:

All the development and testing was run over an operating system Ubuntu 20.04 LTS using programming language Python 3.10. The editors used were VIM Editor, Control version using Git

Setting-Up

git clone https://github.com/mhiskall282/AirBnB_clone.git

change to the AirBnb directory and run the command:

 ./console.py

How to use it

Execution

In interactive mode:

$ ./console.py
(hbnb) help

Documented commands (type help <topic>):
========================================
EOF  help  quit

(hbnb) 
(hbnb) 
(hbnb) quit
$

In non-interactive

$ echo "help" | ./console.py
(hbnb)

Documented commands (type help <topic>):
========================================
EOF  help  quit
(hbnb) 
$
$ cat test_help
help
$
$ cat test_help | ./console.py
(hbnb)

Documented commands (type help <topic>):
========================================
EOF  help  quit
(hbnb) 
$

AUTHORS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published