Overview
Manages serverless functions in your Applad project. Each function is defined by a single YAML file infunctions/. The YAML file points to the function code via a source block — local path, GitHub repo, or container registry. Applad fetches from source at deploy time. Functions run in isolated Docker containers.
Commands
applad functions list
Lists all functions defined in the active project’sfunctions/ directory, along with their runtime, source type, trigger type, and deployment status.
applad functions deploy
Deploys a specific function. Fetches the code from the source defined in the function’s YAML file (clones the repo, copies the local path, or pulls the registry image), builds the container, scans it for vulnerabilities, and deploys it to the configured infrastructure. The previous version keeps running until the new one is healthy.functions/ directory in parallel. Useful after a large change or when setting up a project for the first time.
Example:
applad functions logs
Tails the execution logs for a specific function — every invocation, its duration, its output, and any errors. Streams new logs in real time as the function executes.applad functions invoke
Invokes a function immediately, outside of its normal trigger (HTTP, event, schedule). Useful for testing a function manually without waiting for its trigger condition. Output and any errors are printed to the terminal.applad functions build
Fetches the function source and builds the container image without deploying it. Useful for catching build errors before a real deployment, or for pre-building images in a CI step that precedes the actual deploy.applad functions scan
Scans the built container image for a function against known vulnerability databases. Reports findings by severity. This runs automatically as part ofapplad functions deploy — use this to scan a built image without deploying it.
applad functions delete
Removes a function from the active project. Stops the running container, removes it from the infrastructure, and deletes the function’s YAML file. Does not delete the function’s source code — only the Applad config and running container.Related Commands
- applad deploy - Deployment pipeline management
- applad workflows - Multi-step automation workflows
- Functions guide - Learn how to define and deploy serverless functions