Knative CLI cheat sheet
xxxxxxxxxx
# Knative Functions CLI Commands
# Create Function:
kn func create
# Create a function specifying runtime, template, and path.
#Example:
kn func create -l typescript -t cloudevents examplefunc
# Run Function Locally:
kn func run: Execute a function locally.
kn func run --path=<directory_path>: Specify a directory path.
kn func run --build: Force image rebuild.
kn func run --build=false: Disable image building.
# Build Function:
kn func build: Build a function project.
# Creates an OCI container image for local or cluster execution.
# Knative Serving CLI Commands
# Create Serverless App:
kn service create <service_name> --image=<container_image>