Package Exports
- hlambda-cli
- hlambda-cli/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hlambda-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
hlambda-cli 
hlambda-cli - CLI tool for managing hlambda server.
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
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