This project is a clone of the popular online accommodation marketplace, Airbnb.
The project includes a command-line interface (CLI) that allows users to interact with the system using simple commands. The CLI allows users to manage properties, bookings, users, and other aspects of the system.
To start the command interpreter, run the console.py file using Python 3
$ python3 console.py
The command interpreter uses a simple syntax for executing commands: syntax: $ where: is the action to be performed (e.g. create, read, update, delete, etc.) is the name of the class to be manipulated (e.g. User, Property, Booking, etc.) is the id of the object to be manipulated (optional) are the attributes of the object to be manipulated (optional)
$ create User name="John" email="john@example.com" password="password"
$ show Booking 456