sked function dev
Overview
Runs a Connected Function locally for development and debugging.
Usage
$ sked function dev DIRECTORY [--json] [-p <value>] [-f <value>]
Examples
$ sked function dev ./test-directory -p 3000
$ sked function dev ./test-directory -f .envlocal
Flags
Flag | Description | Required |
---|---|---|
-f, --envFileName= |
The .env file to use when running this function | No |
-p, --port= |
The port to run the local development server on (default: random) | No |
Global flags
Flag | Description | Required |
---|---|---|
--json | Format output as json. | No |
Feedback
Was this page helpful?