This project is a simplified version of the popular vacation rental platform AirBnB. It is designed to allow users to create, manage, and book property listings.
The command interpreter is a command-line interface (CLI) that allows users to interact with the AirBnB Clone application. It provides a set of commands to manipulate data, manage user accounts, and perform various tasks related to property listings.
To start the command interpreter, follow these steps:
-
Clone the repository to your local machine: git clone https://github.com/your_username/AirBnB_clone.git
-
Navigate to the project directory:
-
Run the command interpreter:
Once the command interpreter is running, you can use the following commands:
create
: Create a new instance of a given class.show
: Display information about a specific instance.destroy
: Delete a specific instance.all
: Display information about all instances or all instances of a specific class.update
: Update attributes of a specific instance.
For a complete list of commands and their usage, you can type help
or help <command>
within the command interpreter.
Here are some examples of how to use the command interpreter:
-
Create a new user: (hbnb) create User
-
Show information about a specific user: (hbnb) show User 1234-5678
-
Update the name of a property listing: (hbnb) update Place 9876-5432 name "New Name"