Skip to content

meetbazil/AirBnB_clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

0x00. AirBnB clone - The console

Project Description

This team project is a key part of the ALX Africa Full-Stack Software Engineer program. It's the first step towards building a first full web application: an AirBnB clone. This first step consists of a custom command-line interface for data management, and the base classes for the storage of this data.

How To Use The console

The console works both in interactive mode and non-interactive mode, primarily like a Unix shell. It prints a prompt (hbnb) and waits for the user for input.

Command Description
./console.py Run the console
(hbnb) quit Quit the console
(hbnb) help <command> Display help for a command
(hbnb) create <class> Create an object
(hbnb) show <class> <id> or (hbnb) <class>.show(<id>) Show an object
(hbnb) destroy <class> <id> or (hbnb) <class>.destroy(<id>) Destroy an object
(hbnb) all or (hbnb) all <class> Show all objects/instances of a class
(hbnb) update <class> <id> <attribute name> "<attribute value>" or (hbnb) <class>.update(<id>, <attribute name>, "<attribute value>") Update an attribute of an object

Tests

All the code is tested with the unittest module

Authors

About

AirBnB clone project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published