Skip to content

David-0102/AirBnB_clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

AirBnB Clone

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.

Command Interpreter

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.

How to Start

To start the command interpreter, follow these steps:

  1. Clone the repository to your local machine: git clone https://github.com/your_username/AirBnB_clone.git

  2. Navigate to the project directory:

  3. Run the command interpreter:

How to Use

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.

Examples

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"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published