File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ Commands:
63
63
execute Sends raw JSON payload to Unit
64
64
status Get the current status of Unit
65
65
listeners List active listeners
66
+ apps List all configured Unit applications
66
67
help Print this message or the help of the given subcommand(s)
67
68
68
69
Options:
@@ -150,7 +151,7 @@ Unitctl can also request from the API that an application be restarted.
150
151
151
152
Listing applications:
152
153
```
153
- $ unitctl app list
154
+ $ unitctl apps list
154
155
{
155
156
"wasm": {
156
157
"type": "wasm-wasi-component",
@@ -161,7 +162,7 @@ $ unitctl app list
161
162
162
163
Restarting an application:
163
164
```
164
- $ unitctl app reload wasm
165
+ $ unitctl apps reload wasm
165
166
{
166
167
"success": "Ok"
167
168
}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ async fn main() -> Result<(), UnitctlError> {
34
34
match cli. command {
35
35
Commands :: Instances ( args) => instances:: cmd ( args) . await ,
36
36
37
- Commands :: App ( ref args) => applications:: cmd ( & cli, args) . await ,
37
+ Commands :: Apps ( ref args) => applications:: cmd ( & cli, args) . await ,
38
38
39
39
Commands :: Edit { output_format } => edit:: cmd ( & cli, output_format) . await ,
40
40
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ pub(crate) enum Commands {
127
127
} ,
128
128
129
129
#[ command( about = "List all configured Unit applications" ) ]
130
- App ( ApplicationArgs ) ,
130
+ Apps ( ApplicationArgs ) ,
131
131
132
132
#[ command( about = "Export the current configuration of UNIT" ) ]
133
133
Export {
You can’t perform that action at this time.
0 commit comments