smartmate-cli

Node based Smartmate 2 CLI.

Usage no npm install needed!

<script type="module">
  import smartmateCli from 'https://cdn.skypack.dev/smartmate-cli';
</script>

README

Smartmate CLI

Smartmate is Business Automation as Code.

Smartmate CLI allows developers to create and publish Smartmate apps. The easiest way to create your first app is by following the Getting Started guide.

Installation

npm install -g smartmate-cli

or

yarn global add smartmate-cli

Just for Windows

You must enable running unsigned scripts by entering the following command on Windows Powershell (don't forget run as administrator)


Set-ExecutionPolicy Unrestricted -Force;
Set-ExecutionPolicy Bypass -Force;

Usage

See the Documentation.

Development

CLI will authenticate the workspace against an auth service before start publishing to verify if the user has the correct permissions.

In order to change the default destination you need to provide a value to the following env variables:

  • SMARTMATE_AUTH_SERVER: the URL to the authentication server.
  • SMARTMATE_PUBLISHER_SERVER: the URL to the publisher micro service.

Copyright

Copyright 2020, Devsu LLC.