Getting started

Installing Xomlo CLI

Becoming a super hero is a fairly straight forward process:

$ yarn global add @xomlo/xomlo-cli
$ npm i -g @xomlo/xomlo-cli

You can use both NPM and YARN but we recommend to use Yarn.

Once you're strong enough, save the world:

index.ts
import { functions } from '@xomlo/xomlo-sdk'
export interface Payload {
helloMessage: string;
}
functions.main(async ({ helloMessage }: Payload) => {
functions.logger.info(`Hello world ${helloMessage}`);
});