Loading...
Loading...
Compare original and translation side by side
.ump.ump| Type | Umple generator | Read before writing Umple |
|---|---|---|
| | |
| | |
| 类型 | Umple 生成器 | 编写Umple前请阅读 |
|---|---|---|
| | |
| | |
scripts/main.tsnpx -y bunscripts/main.tsnpx -y bunundefinedundefined
Replace `${SKILL_DIR}` with the absolute path to this skill directory.
将 `${SKILL_DIR}` 替换为该工具目录的绝对路径。| Option | Description |
|---|---|
| Input |
| Output path: directory for folder mode, or |
| Diagram name for folder mode (optional, triggers folder mode) |
| Diagram type: |
| GvStateDiagram suboption (repeatable) |
| JSON output with details |
| Show help |
| 选项 | 描述 |
|---|---|
| 输入 |
| 输出路径:文件夹模式对应目录,精确路径模式对应 |
| 文件夹模式下的图表名称(可选,指定后触发文件夹模式) |
| 图表类型: |
| GvStateDiagram 子选项(可重复使用) |
| 输出包含详细信息的JSON格式结果 |
| 显示帮助信息 |
--name--output.ump.gv.svg--name<sanitized-name>_<timestamp>/--name<diagram-type>_<timestamp>/diagrams/
└── light-controller_20260121_183045/
├── model.ump
├── model.gv
└── model.svg--output.svgnpx -y bun ${SKILL_DIR}/scripts/main.ts --input model.ump --output /path/to/my-diagram.svg--name--output.ump.gv.svg--name<清理后的名称>_<时间戳>/--name<图表类型>_<时间戳>/diagrams/
└── light-controller_20260121_183045/
├── model.ump
├── model.gv
└── model.svg--output.svgnpx -y bun ${SKILL_DIR}/scripts/main.ts --input model.ump --output /path/to/my-diagram.svgundefinedundefined| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Missing dependencies (umple or dot) |
| 2 | Umple validation/compilation failed |
| 3 | SVG generation failed or unsupported diagram type |
| 代码 | 含义 |
|---|---|
| 0 | 执行成功 |
| 1 | 缺少依赖(umple 或 dot) |
| 2 | Umple 验证/编译失败 |
| 3 | SVG生成失败或不支持的图表类型 |
command -v umplecommand -v dot.svgcommand -v umplecommand -v dot.svgumpleumple.svg.svg