Mercurial > hg > Members > anatofuz > ie-virsh
view src/command.rs @ 12:0df4d067badb
move each crates
author | AnaTofuZ <k198584@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 29 Oct 2020 16:15:52 +0900 |
parents | |
children | 56e9763abeef |
line wrap: on
line source
use super::virsh; pub fn list_command(user_name: &'static str) { let (ldump_msg, vm_list_strs) = virsh::get_vm_list(user_name); println!("{}", ldump_msg.info_msg); println!("{}", ldump_msg.border_line); for vm_info in vm_list_strs { println!("{}", vm_info); } }