In-progress project.
Currently only supports basic commands such as insert
to add data, select
to view data, and .exit
to exit the program.
Very minimalist right now and only hands insertions with an ID, username, and email.
To buld the database executeable, use make
:
make db
To run the database:
./db <name>.db
You will be prompted to input commands. Currenlty supported commands are:
insert <id> <username> <email>
: Inserts a new row with the specified dataselect
: Displays all rows in the database..exit
: Exits the databse program.
To set up RSpec tests (make sure RSpec is installed):
rspec --init
To run the tests, execute:
rspec
This will run the tests defined in the spec/
directory.