This is the first part toward building a full web application of an AirBnB clone. The console is a tool to validate the storage engine of
This project was created, interpreted, and tested on Ubuntu 14.04 LTS using python3 (version 3.4.3). Code conforms to PEP 8 style (version 1.7.0).
- Clone this repo.
- Running the console in interactive mode:
$ ./console.py
(hbnb) help
Documented commands (type help <topic>):
========================================
EOF help quit
(hbnb)
(hbnb)
(hbnb) quit
$
- Running the console/shell in non-interactive mode:
$ echo "help" | ./console.py
(hbnb)
Documented commands (type help <topic>):
========================================
EOF help quit
(hbnb)
$
$ cat test_help
help
$
$ cat test_help | ./console.py
(hbnb)
Documented commands (type help <topic>):
========================================
EOF help quit
(hbnb)
$
console.py - the console is the entry point of the command interpreter. models amenity.py base_model.py city.py engine file_storage.py init.py place.py review.py state.py user.py README.md tests init.py test_console.py test_models test_amenity.py test_base_model.py test_city.py test_place.py test_review.py test_state.py test_user.py AUTHORS
- [objectObject]
- Amilcar Armmand - AmilcarArmmand
- Maxwell Lovell - Johnbogey
- Matthew Feliciano - Mfeliciano778