mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 13:29:21 +00:00
Improve formatting
This commit is contained in:
parent
9cc7797443
commit
765a84ac7f
@ -190,7 +190,7 @@ fn help(_a: Vec<String>) -> Res {
|
|||||||
fn list_clients(_args: Vec<String>) -> Res {
|
fn list_clients(_args: Vec<String>) -> Res {
|
||||||
for client in api_helper::get_clients()? {
|
for client in api_helper::get_clients()? {
|
||||||
println!(
|
println!(
|
||||||
"Client {}\n* Name: {}\n* Domain: {}\n* Comment: {}\n* Default tokens expiration time: {}\n* Firebase project: {}",
|
"Client {}\n* Name: {}\n* Domain: {}\n* Comment: {}\n* Default tokens expiration time: {}\n* Firebase project: {}\n\n",
|
||||||
client.id,
|
client.id,
|
||||||
client.name,
|
client.name,
|
||||||
client.domain.unwrap_or("None".to_string()),
|
client.domain.unwrap_or("None".to_string()),
|
||||||
|
Loading…
Reference in New Issue
Block a user