npm.io
1.0.119 • Published 5 years agoCLI

@microfunctions/cli

Licence
—
Version
1.0.119
Deps
24
Size
239 kB
Vulns
2
Weekly
0

Microfunction Logo

Free serverless solution for JavaScript Developers.

Description

The Microfunctions CLI is a command-line interface tool that helps you to initialize, develop, and maintain your Microfunctions serverless

Read more here.

Installation

$ npm install -g @microfunctions/cli

Basic workflow

$ microfunctions --help

$ microfunctions new my-function
$ cd  my-function
$ npm run start

Command overview

Command	Alias	Description
new	n	Scaffolds a new function with all boilerplate files needed to run.

deploy  d	Deploy microfunctions .

replicas r	Replicas microfunctions (A ReplicaSets purpose is to maintain a stable set of replica Pods running at any given time. As such, it is often used to guarantee the availability of a specified number of identical Pods.).

start start start your functions

stop stop stop your functions

logs l show logs for your functions

status status show status for your functions

Usage

Learn more in the official documentation.

Stay in touch

Keywords