Do you remember the Shell? It’s exactly the same but limited to a specific use-case. In our case, we want to be able to manage the objects of our project:
Create a new object (ex: a new User or a new Place) Retrieve an object from a file, a database etc… Do operations on objects (count, compute stats, etc…) Update attributes of an object Destroy an object
All the development and testing was runned over an operating system Ubuntu 20.04 LTS using programming language Python 3.8.3. The editors used were VIM 8.1.2269, VSCode 1.6.1 and Atom 1.58.0 . Control version using Git 2.25.1.
github, linux, python, Gun bash and git .
git clone https://github.com/gameliaprogrammer/AirBnB_clone.git
change to the AirBnb directory and run the command:
./console.py
All the tests are defined in the tests folder.
Modules
python3 -c 'print(__import__("my_module").__doc__)'
Classes
python3 -c 'print(__import__("my_module").MyClass.__doc__)'