libaloo is a C library which uses GTK4 behind the scenes to create an GTK application
It’s mainly written in C.
It also has a CLI and CLI with TUI written in C++ with FtxUI but to set it up, Python is used.
To install it, go to Release and install based on your system soon will be available, currently, only .deb available but I have made bash scripts to do it and then share it to me too to add that to release
Use aloo-cli or aloo can be used to create a template project and models, connect to db like sqlite and mongo and test
Aloo CLI
It consists of 2 commands
• aloo: It also consists of TUI features
• aloo-cli: It only has CLI features
create-app
Creates template project with some configs
--name
flag:
$ aloo create-app -–name project
Enter app name[Example App]:
Enter description[An default template for aloo App]:
--path
flag:
$ aloo create-app –-path .
Enter app name[Example App]:
Enter description[An default template for aloo App]:
No flags:
$ aloo create-app
Enter project name[aloo-project]:
Enter app name[Example App]:
Enter description[An default template for aloo App]:
model
creates new a new object model for aloo project
and adds it to configuration
$ aloo model human name:string age:int hobby:object
connect-db
- Create connections with Dbs like SQLite, mongo
- Connect utilites related to model
- Restart database (Delete all old data)
Options:
new
$ aloo connect-db new sqlite
Enter db file[db.sqlite]:
Enter model: human
restart
$ aloo connect-db restart
add <model>
$ aloo connect-db add human
build
Builds aloo app and test
$ aloo build
run
Options:
app
Runs aloo app
$ aloo run app
test
Runs aloo tests
$ aloo run test
Top comments (0)