From 57709e963c324fc53733f18cd2cdbd87f1ae9184 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Thu, 27 Jun 2024 22:26:18 +0200 Subject: [PATCH] docs(cli::printing): document use of parameters for blockfmt_advanced --- members/libpt-cli/src/printing.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/members/libpt-cli/src/printing.rs b/members/libpt-cli/src/printing.rs index 2298c33..b2717e9 100644 --- a/members/libpt-cli/src/printing.rs +++ b/members/libpt-cli/src/printing.rs @@ -83,7 +83,11 @@ pub fn blockfmt(content: impl ToString, color: Color) -> String { /// /// # Parameters /// -/// +/// - `content`: The content to be formatted within the border +/// - `color`: The color of the border and text +/// - `preset`: The preset style for the border +/// - `arrangement`: The arrangement of the the border (e.g., stretch to sides, wrap around ) +/// - `alignment`: The alignment of the content within the cells (e.g., left, center, right) pub fn blockfmt_advanced( content: impl ToString, color: Option,