From 9532e41e9d599f1fccfc293aef2212705310bf68 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Fri, 5 Feb 2021 11:12:50 +0900 Subject: [PATCH] 1.0: plugin-config-format: Add markdown table output style description Signed-off-by: Hiroshi Hatake --- deployment/command-line-option.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/deployment/command-line-option.md b/deployment/command-line-option.md index ddccfb76..ab362d97 100644 --- a/deployment/command-line-option.md +++ b/deployment/command-line-option.md @@ -99,7 +99,7 @@ Usage: fluent-plugin-config-format [options] Output plugin config definitions Arguments: - type: input,output,filter,buffer,parser,formatter,storage + type: input,output,filter,buffer,parser,formatter,storage,service_discovery name: registered plugin name Options: @@ -109,6 +109,7 @@ Options: -I PATH Add PATH to $LOAD_PATH -r NAME Load library -p, --plugin=DIR Add plugin directory + -t, --table Use table syntax to dump parameters ``` ### Example @@ -125,6 +126,12 @@ Generate an old-style output from the plugin's config parameters: fluent-plugin-config-format -f txt output null ``` +Generate a markdown table style output from the plugin's config parameters: + +```text +fluent-plugin-config-format -f markdown --table output null +``` + ## `fluent-plugin-generate` It generates the Fluentd plugin project template. It is good for starting to Fluentd plugin development for using the new API plugin. For more details, refer to the [Generating plugin project skeleton section](../plugin-development/#generating-plugin-project-skeleton).