Command Line Interface
Macrometa Command Line Interface (CLI) is a command line interface that enables developers to:
- Deploy serverless microservices and functions.
- Script serverless workflows via GitHub.
- Easily learn commands with consistent verbs, nouns, and flags.
You can use commands with the GDN Command Line Interface (CLI) to perform many of the same actions that you can perform in the GUI or API.
Install Node.js and npm. We recommend using a version manager such as nvm (Node Version Manager).
Install GDN CLI
gdnsl is built with Node.js. You can install it with
npm. If you are on an Apple or Linux system, then you might need to use
npm install -g gdnsl
# You will need a gdnsl.yaml file to connect to the Macrometa GDN. Execute the `init` command to create the yaml file in local directory.
regions: [ ] # Valid values - LOCAL, ALL, comma separated list of regions.
Update GDN CLI
gdnsl, we recommend that you completely uninstall the app and then reinstall it. If you are on an Apple or Linux system, then you might need to use
npm uninstall -g gdnsl
Macrometa serverless client executable options:
-h, --help Help for gdnsl
-c, --config string gdnsl config file (default is ./gdnsl.yaml)
-v, --version Prints the client version