First step to build a web application: the AirBnB
This proyect create a command interpreter for Airbnb, this console manage the crea of:
- Create objects
- Retrieve an objects from a file a database
- Do operations on objects
- Update attributes of an objects
- Detsroy a objects
This project should be compiled with the following command:
./console.py
Then you can easily run './shell' to enter the intractive mode, or you can also send an input to use the non-interactive mode (e.g. echo 'ls' | ./shell)
(hbnb) help
Documented commands (type help <topic>):
========================================
EOF all create destroy help quit show update
(hbnb)
create an instance, if it is valid
call all objects, use all for call all objects and use all [NAME_OBJECT] to call all obects with the same NAME_OBJECT
show object according to the name of the object and the id
destroy a object
update a object
- Valentina Rua Carrillo
- David Rosero Calle
Pull requests are welcome.