This project is an AirBnB clone with a command-line interface (CLI) implemented in Python. The goal is to provide users with the ability to interact with the AirBnB application through a text-based interface, allowing them to perform various actions such as managing users, listings, bookings, and more. The AirBnB clone aims to simulate the basic functionalities of the popular online marketplace for lodging, facilitating property listing, booking management, and user interaction.
To start the command interpreter, follow these steps:
- Clone this repository to your local machine.
- Navigate to the project directory in your terminal.
- Run the console.py file using Python.
python3 console.py
Once the command interpreter is running, you can start entering commands. The general format of the commands is:
command [option] [arguments]
Here's a list of available commands:
- 'create':Create a new instance of a specified class.
- 'show':Display information about a specific instance.
- 'destroy':Delete a specified instance.
- 'all':Display all instances or all instances of a specified class.
- 'update':Update attributes of a specified instance.