Enterprise Application Development

Fast Modeling, Responsive Design, One-Button Deploy

BOOK a Demo

Economic theory-based business modeling

Resources, Events, Agents

BOOK a Demo

Automate API Tasks with OMNIA CLI
Posted January 20th, 2023

Automate API Tasks with OMNIA CLI
Posted January 20th​, 2023

Creating a new tenant is a simple task, right? Just like adding a user to that tenant. A couple of clicks and the job is done.

However, “simple” does not equal “scalable”, and repeating simple tasks to exhaustion provides a very poor user experience.

Today we’re taking the first step into the automation of some of those tasks, with the new OMNIA Command Line Interface (CLI)!

OMNIA Command Line Interface

“A command-line interface (CLI) is a means of interacting with a computer program where the user (or client) issues commands to the program in the form of successive lines of text (command lines). – Wikipédia

Command line interfaces are made up of basic functionalities (see documentation). The key advantage is that, when you put basic commands together, it can provide huge amounts of value and save you a lot of time performing recurrent tasks.

At launch, our platform’s CLI will allow you to take advantage of these three basic commands:

  • Create a new tenant on subscription “MySubs”, with code “MySub” and name “My Subscription”:

    tenants add –subscription MySubs –code MySub –name “My Subscription”

  • Add user (email) to tenant code “MySub”, on subscription “MySubs”, with role “Administrator”:

    security users add –subscription MySubs –tenant MySub –username “youremail@email.com” –role Administration

  • Import/Export templates:

    model import –subscription TEST –tenant MySubs –path “.\importModel.zip” –build
With these simple basic commands, from now on, you’ll be able to automate tasks, one of the most notable being the fact that you can now create a new tenant, add users (via comma-delimited CSV) to a role and import a template with just this command line:


But wait.. there's one more thing

The principle behind the adoption of open-source is one of sharing. Sharing not just web components, or blocks of code, but solutions for the common business problems that OMNIA was built to solve.

With this in mind, we invite you all to be a part of the next version of the CLI by suggesting new basic commands you would like to use, bug fixes or documentation, so that together we’ll make our ecosystem stronger every day.

As you might expect, this new tool is available on our GitHub and is open for contributions from everyone!


If you feel like you can help improve our tool, feel free to submit your PR’s.