update docs
This commit is contained in:
@@ -159,6 +159,7 @@ fn inspect_manifest(path: &Path, json: bool) -> Result<()> {
|
||||
}
|
||||
fn cartridge(request: Request, json: bool) -> Result<()> {
|
||||
let debug = matches!(request, Request::Topology);
|
||||
let details = matches!(request, Request::Bay { .. });
|
||||
let response = control::request(&request)?;
|
||||
if json {
|
||||
println!(
|
||||
@@ -237,6 +238,11 @@ fn cartridge(request: Request, json: bool) -> Result<()> {
|
||||
if let Some(mount) = bay.mount {
|
||||
println!(" MOUNT {mount}");
|
||||
}
|
||||
if details {
|
||||
for command in bay.commands {
|
||||
println!(" FOREGROUND {}", command.alias);
|
||||
}
|
||||
}
|
||||
if bay.consumers > 0 {
|
||||
println!(" MANAGED PROCESSES {}", bay.consumers);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user