mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-04 21:51:31 +00:00
feat(ctl): add help and about to commands and arguments (#25)
This commit is contained in:
@ -15,11 +15,12 @@ use crate::console::StdioConsoleStream;
|
||||
use super::resolve_guest;
|
||||
|
||||
#[derive(Parser)]
|
||||
#[command(about = "View the logs of a guest")]
|
||||
pub struct LogsCommand {
|
||||
#[arg()]
|
||||
guest: String,
|
||||
#[arg(short, long)]
|
||||
#[arg(short, long, help = "Follow output from the guest")]
|
||||
follow: bool,
|
||||
#[arg(help = "Guest to show logs for, either the name or the uuid")]
|
||||
guest: String,
|
||||
}
|
||||
|
||||
impl LogsCommand {
|
||||
|
Reference in New Issue
Block a user