0x00. AirBnB Clone is ALX team project, where we build clone of AirBnB
We Build The Console That Is Able to Perform The Following
*Create a new object (ex: a new User or a new Place) *Retrieve an object from a file, a database etc… *Do operations on objects (count, compute stats, etc…) *Update attributes of an object *Destroy an object
All the classes are managed by the Storage engine in the FileStorage Class.
git clone https://github.com/matshidisolp/AirBnB_clone.git ./console.pyIn interactive mode
$ ./console.py
(hbnb) help
Documented commands (type help <topic>):
========================================
EOF help quit
(hbnb)
(hbnb)
(hbnb) quit
$All the tests are defined in the tests directory.
to run the inittest
echo "python3 -m unittest discover tests" | bash- Start the console in the terminal
$ ./console.py
(hbnb)- Use help to see the available commands:
(hbnb) help
Documented commands (type help <topic>):
========================================
EOF all count create destroy help quit show update
(hbnb)- Quit the console:
(hbnb) quit
$