Skip to main content

List of FaaS CLI Commands

Local CLI Commands

To use local commands, run:

faas <COMMAND>

More local commands:

CommandDescription
buildBuild a PhotonIQ FaaS function from a specified local template.
deleteRemove a specified PhotonIQ FaaS function from the local server.
executeTrigger execution of a specified PhotonIQ FaaS function on the local server.
infoDisplay metadata of a specified function on the local server.
listShow all PhotonIQ FaaS functions currently deployed on the local server.
newCreate a new PhotonIQ FaaS function using a predefined template.
remoteManage and interact with PhotonIQ FaaS functions deployed on a remote server.
runLaunch a specified function on a local, simulated version of the PhotonIQ FaaS server.
helpPrint this message or the help of the given subcommand(s).

Remote CLI Commands

To use remote commands, run:

faas remote <COMMAND>

More remote commands:

CommandDescription
aliasConfigure or modify aliases used to reference functions on a remote server.
deleteRemove a specified PhotonIQ FaaS function from the remote server.
deployDeploy a specified PhotonIQ FaaS function to a remote server for execution and availability.
downloadRetrieve the WebAssembly (wasm) file of a specific function from a remote server.
executeTrigger execution of a specified PhotonIQ FaaS function on the remote server.
infoDisplay metadata of a specified function on the remote server.
listShow all PhotonIQ FaaS functions currently deployed on the remote server.
logsDisplay the function logs from the last hour until now from a remote server.
versionHandle version control and view version history for functions deployed on a remote server.
helpPrint this message or the help of the given subcommand(s).