Publishing via command line
Using the Superuser command line tools
Installing sutr
Initialize a new Superuser package
$ npm i sutr -g
$ mkdir new-package
$ cd new-package
$ sutr init$ sutr serve# run functions/index.js
$ sutr run /
# run functions/some-endpoint.js
$ sutr run some-endpoint
# run functions/index.js with {"name":"hello"} POST parameters
$ sutr run / --name helloCreating tools aka endpoints
Installing NPM packages
Deploy an Superuser Package
Public packages
Private packages
Additional utilities
Generate endpoints
Generate tests
Run tests
Environment variables
Last updated
Was this helpful?