saasbox-cli

SaaSBox CLI to push new front-end SaaS templates

Usage no npm install needed!

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

README

What is this:

SaaSBox (saasbox.net) lets you create SaaS apps where you only contribute the "app" part itself (e.g. a standalone react/vuejs app or an API or even a single airtable page). SaaSBox provides the rest (stripe payments, authentication, marketing pages and a user dashboard that integrates with your application)

SaaSBox can host web pages in form of .pug templates, and asset files.

Editing your frontend files locally is much easier than doing it via a web editor.

saasbox-cli is created so that you can locally edit your SaaS pages and assets, then push them to your application with one command.

Installation

npm install saasbox-cli

Usage

List all available templates:

sbox -l

Set Application Key (Found on the API key section of your SaaS dashboard)

sbox --set-key <key-value>

Set Application ID (Found on the API key section)

sbox --set-appid <application-id>

Create a new template from scratch in a local directory:

sbox -c <directory-name>

Deploy an existing template:

sbox -d <directory-name>

Deploy an existing template where current directory is the root of the template:

sbox -d .

Deploy an existing template at the root directory and also make it the active template:

sbox -d -a .