You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--log-level <level>`| Set the log level (trace, debug, info, warn, error, fatal, print) |
58
-
59
-
## Authentication Commands
60
-
61
-
| Command | Description |
62
-
|---------|-------------|
63
-
|`kernel login [--force]`| Initiates OAuth 2.0 authentication flow via browser. Use `--force` to re-authenticate when already logged in |
64
-
|`kernel logout`| Clears stored authentication tokens and logs out |
65
-
|`kernel auth`| Displays current authentication status, user details, and token expiry. Use `--log-level debug` for detailed information including user ID and storage method |
66
-
67
-
## Browser Management Commands
68
-
69
-
| Command | Description |
70
-
|---------|-------------|
71
-
|`kernel browsers list`| List running or persistent browsers |
72
-
|`kernel browsers create`| Create a new browser session |
73
-
||`--persistence-id <id>`| Unique identifier for browser session persistence. Optional. |
74
-
||`--stealth`| Launch browser in stealth mode to avoid detection. Optional. |
75
-
||`--headless`| Launch browser without GUI access. Optional. |
76
-
|`kernel browsers delete`| Delete a browser. Must specify either `--by-persistent-id` or `--by-id`|
77
-
||`--by-persistent-id <id>`| Delete browser by persistent ID |
78
-
||`--by-id <id>`| Delete browser by session ID |
79
-
||`--yes`, `-y`| Skip confirmation prompt |
80
-
|`kernel browsers view`| Get the live view URL for a browser. Must specify either `--by-persistent-id` or `--by-id`|
81
-
||`--by-persistent-id <id>`| View browser by persistent ID |
82
-
||`--by-id <id>`| View browser by session ID |
83
-
84
-
## App Management Commands
85
-
86
-
| Command | Optional Flags | Description |
87
-
|---------|-------------| -------------|
88
-
|`kernel deploy <entrypoint_file_name>`| - | Deploys an app to Kernel from the current directory. |
89
-
||`--version <version>`| Specify a version for the app (default: latest). Optional. |
90
-
||`--force`| Allow overwrite of an existing version with the same name. Optional. |
91
-
||`--env <ENV_VAR=VAL>`, `-e`| Adds environment variables to the app. Expects the form `ENV_VAR=VAL` delimited by spaces. May be specified multiple times. Optional. |
92
-
||`--env-file <file>`| Read environment variables from a file (.env format). May be specified multiple times. Optional. |
93
-
|`kernel invoke <app_name> <action_name>`| - | Invokes a specific app action by its name. Generates an Invocation. |
94
-
||`--version <version>`, `-v`| Specify a version of the app to invoke (default: latest). Optional. |
95
-
||`--payload <payload_data>`, `-p`| Includes the specified parameters. Expects a stringified JSON object. Optional. |
96
-
||`--sync`, `-s`| Invoke synchronously (default false). A synchronous invocation opens a long-lived HTTP POST that times out after 60 seconds. Optional. |
97
-
||`ctrl-c`| Terminates the running invocation in your CLI. Also destroys any associated browsers. |
98
-
|`kernel app list`| - | List deployed application versions. |
99
-
||`--name <app_name>`| Filter by application name. Optional. |
100
-
||`--version <version>`| Filter by version label. Optional. |
101
-
|`kernel app history <app_name>`| - | Show deployment history for an application. |
102
-
|`kernel logs <app_name>`| - | Prints the logs for the specified app. |
103
-
||`--version <version>`| Specify a version of the app (default: latest). Optional. |
104
-
||`--follow`, `-f`| Follow logs in real-time (stream continuously). Optional. |
105
-
||`--since <time>`, `-s`| How far back to retrieve logs (e.g., 5m, 1h). Defaults to 5m if not following, 5s if following. Optional. |
106
-
||`--with-timestamps`| Include timestamps in each log line. Optional. |
107
-
108
-
## General Commands
54
+
-`--version`, `-v` - Print the CLI version
55
+
-`--no-color` - Disable color output
56
+
-`--log-level <level>` - Set the log level (trace, debug, info, warn, error, fatal, print)
109
57
110
-
| Command | Description |
111
-
|---------|-------------|
112
-
|`kernel help [command]`| Displays help information about Kernel commands |
58
+
<Info>
59
+
Looking for the API? See the [API Reference](/api-reference/invocations/invoke-an-action).
<Info>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.</Info>
25
+
26
+
## `kernel app list`
27
+
List deployed application versions.
28
+
29
+
| Flag | Description |
30
+
|------|-------------|
31
+
|`--name <app_name>`| Filter by application name. Optional. |
32
+
|`--version <version>`| Filter by version label. Optional. |
33
+
34
+
## `kernel app history <app_name>`
35
+
Show deployment history for an application.
36
+
37
+
## `kernel logs <app_name>`
38
+
Print the logs for the specified app.
39
+
40
+
| Flag | Description |
41
+
|------|-------------|
42
+
|`--version <version>`| Specify a version of the app (default: latest). Optional. |
43
+
|`--follow`, `-f`| Follow logs in real-time (stream continuously). Optional. |
44
+
|`--since <time>`, `-s`| How far back to retrieve logs (e.g., 5m, 1h). Defaults to 5m if not following, 5s if following. Optional. |
45
+
|`--with-timestamps`| Include timestamps in each log line. Optional. |
0 commit comments