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