Skip to content

Commit 0d701d8

Browse files
committed
claude code: extend documentation based on functionality
1 parent 0c1ffcf commit 0d701d8

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

cmem_plugin_yaml/parse.py

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,24 @@
7272
plugin_id="cmem_plugin_yaml-parse",
7373
description="Parses files, source code or input values as YAML documents.",
7474
icon=Icon(file_name="logo.svg", package=__package__),
75-
documentation="""This workflow task is basically a yaml2json command.""",
75+
documentation="""
76+
This workflow task parses YAML content from multiple sources and converts it to various output
77+
formats.
78+
79+
**Input Sources:**
80+
- **entities**: Parse YAML from input port entities in a workflow
81+
- **code**: Parse YAML from directly entered source code
82+
- **file**: Parse YAML from uploaded project file resources
83+
84+
**Output Formats:**
85+
- **entities**: Convert parsed structure to entities for workflow processing
86+
- **json_entities**: Output as single JSON entity to the output port
87+
- **json_dataset**: Save parsed structure directly to a JSON dataset
88+
89+
The plugin provides flexible YAML-to-JSON conversion with configurable input schema
90+
types and paths for entity-based processing. It includes comprehensive validation and
91+
error handling for all supported modes.
92+
""",
7693
parameters=[
7794
PluginParameter(
7895
name="source_mode",

0 commit comments

Comments
 (0)