Skip to content

Repository files navigation

hlambda-cli npm version

hlambda-cli - CLI tool for managing hlambda server.

NPM

Installation

npm

$ npm install -g hlambda-cli

Example

hlambda@pc:~$ hlambda --version
hlambda@pc:~$ hlambda init my-first-hlambda-app
hlambda@pc:~$ cd my-first-hlambda-app

Change the admin_secret in the config.yaml and just run

hlambda@pc:~$ hlambda metadata apply

or run the hlambda metadata apply with option --admin-secret <your_secret>

hlambda@pc:~$ hlambda metadata apply --admin-secret <your_secret>

to export existing data from the hlambda server run

hlambda@pc:~$ hlambda metadata export

Reloading metadata

By default metadata apply should also automatically reload the metadata on the server unless --no-auto-reload option is set

hlambda@pc:~$ hlambda metadata apply --no-auto-reload

to do it manually you can run:

hlambda@pc:~$ hlambda metadata reload

Clearing metadata

If you want to clear all the metadata from the server

hlambda@pc:~$ hlambda metadata clear

About

Hlambda cli

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages