kernel deploy <entrypoint_file_name>

Deploy an app to Kernel from the current directory.
FlagDescription
--version <version>Specify a version for the app (default: latest). Optional.
--forceAllow overwrite of an existing version with the same name. Optional.
--env <ENV_VAR=VAL>, -eAdds environment variables to the app. May be specified multiple times. Optional.
--env-file <file>Read environment variables from a .env file. May be specified multiple times. Optional.

kernel invoke <app_name> <action_name>

Invoke a specific app action by its name. Generates an Invocation.
FlagDescription
--version <version>, -vSpecify a version of the app to invoke (default: latest). Optional.
--payload <payload_data>, -pStringified JSON object (max 64 KB). Optional.
--sync, -sInvoke synchronously (default false). Optional.
Synchronous invocations open a long-lived HTTP POST that times out after 60 seconds. Press ctrl-c to terminate a running invocation; associated browsers are destroyed.

kernel app list

List deployed application versions.
FlagDescription
--name <app_name>Filter by application name. Optional.
--version <version>Filter by version label. Optional.

kernel app history <app_name>

Show deployment history for an application.

kernel logs <app_name>

Print the logs for the specified app.
FlagDescription
--version <version>Specify a version of the app (default: latest). Optional.
--follow, -fFollow logs in real-time (stream continuously). Optional.
--since <time>, -sHow far back to retrieve logs (e.g., 5m, 1h). Defaults to 5m if not following, 5s if following. Optional.
--with-timestampsInclude timestamps in each log line. Optional.