Develop web apps faster from command-line using KAPTL CLI

Stas Demchuk

by Stas Demchuk on 10/22/2015


We are glad to announce the release of KAPTL command-line client!

The CLI will work a lot faster than our fancy web-based builder.

All you need to get a full-featured full-stack web app builder is install it via pip install kaptl, run kaptl init and pass some KAPTL rules. Let's go through the functionality this tool provides at the moment.

Python 2.7 and pip are required to install and run kaptl. Python can be downloaded from the official site and pip is included in the latest version of Python 2.7 by default. If you have python, but didn't install pip yet, follow the recommendations from this Stack Overflow thread.

At first, kaptl -h will show you all the parameters the tool can process. The ones you should be interested in are --backend, --frontend and --rules-file.


This parameter will help you specify the backend framework you want to use. Allowed values are mvc and sails (ASP.NET MVC and Sails.js accordingly). If you don't specify this parameter at all, frontend-only app will be generated.


A way to tell us which frontend framework you want to use. At the moment, angular is the only value allowed. react is on its way! If you omit this, but specify --backend, SPA will not be generated.

NOTE: be sure to specify at least one of these, otherwise the script won't work.


Allows you to specify a path to the file with KAPTL rules. Should be a simple plain-text file with some KAPTL rules. Don't know what to start with? Try our "Car Service" example from here.

You can also inline a ruleset if it's short or if you don't want to create a file for that, like this: kaptl init --backend=sails --frontend=angular "App name is 'Car Service'. Main page title is 'Welcome to Car Service'.".

Have any suggestions? Let us know in the comments! And don't forget to subscribe to our mailing list to be the first to know about new cool stuff.