# TextUSM CLI
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)
Generate a User Story Mapping from indented text.
CLI for [TextUSM](./README.md).
## Installation
```sh
$ npm i -g textusm.cli
```
## Examples
```sh
$ cat input.txt | textusm -o output.svg
```
```sh
$ textusm -i input.txt -o output.svg
```
```sh
$ textusm -i input.txt -o output.svg
```
```sh
$ textusm -i input.txt -o output.png
```
```sh
$ textusm -i input.txt -o output.pdf
```
```sh
$ textusm -i input.txt -o output.html
```
```sh
$ textusm -i input.txt -o output.html -d businessmodelcanvas
```
## Options
```
Usage: textusm [options]
Options:
-V, --version output the version number
-c, --configFile [configFile] Config file.
-i, --input <input> Input text file.
-w, --width <width> Width of the page. Optional. Default: 1024.
-H, --height <height> Height of the page. Optional. Default: 1024.
-o, --output [output] Output file. It should be svg, png, pdf or html.
-d, --diagramType [diagramType] Diagram type. It should be one of user_story_map, opportunity_canvas, business_model_canvas, 4ls, start_stop_continue, kpt, userpersona, mind_map,
empathy_map, table, site_map, gantt_chart, impact_map, er_diagram, kanban, sequence_diagram
-h, --help display help for command
```
## Example Input file
### User Story Map
```
# Comment
TextUSM
Online tool for making user story mapping
Press Tab to indent lines
Press Shift + Tab to unindent lines: Note
```
![image](./img/usm.png)
### Business Model Canvas
```
ð¥ Key Partners
Key Partners
ð Customer Segments
Customer Segments
ð Value Proposition
Value Proposition
â
Key Activities
Key Activities
ð Channels
Channels
ð° Revenue Streams
Revenue Streams
ð·ï¸ Cost Structure
Cost Structure
ðª Key Resources
Key Resources
ð Customer Relationships
Customer Relationships
```
![image](./img/bmc.png)
### Opportunity Canvas
```
Problems
Problems
Solution Ideas
Solution Ideas
Users and Customers
Users and Customers
Solutions Today
Solutions Today
Business Challenges
Business Challenges
How will Users use Solution?
How will Users use Solution?
User Metrics
User Metrics
Adoption Strategy
Adoption Strategy
Business Benefits and Metrics
Business Benefits and Metrics
Budget
Budget
```
![image](./img/opc.png)
### 4Ls Retrospective
```
Liked
liked
Learned
learned
Lacked
lacked
Longed For
longedFor
```
![image](./img/4ls.png)
### Start, Stop, Continue Retrospective
```
Start
Start
Stop
stop
Continue
continue
```
![image](./img/ssc.png)
### KPT Retrospective
```
Keep
keep
Problem
problem
Try
try
```
![image](./img/kpt.png)
### MindMap
```
TextUSM
WORK QUICKLY
Draw diagrams without leaving the keyboard.
SAVE TIME
Instantly visualize your ideas.
EXPORT TO IMAGES
Images can be exported as png or svg.
SHARING
Share your diagrams online with your colleagues.
```
![image](./img/mmp.png)
### Empathy Map
```
https://app.textusm.com/images/logo.svg
SAYS
THINKS
DOES
FEELS
```
![image](./img/emm.png)
### Table
```
Column1
Column2
Column3
Column4
Column5
Column6
Column7
Row1
Column1
Column2
Column3
Column4
Column5
Column6
Row2
Column1
Column2
Column3
Column4
Column5
Column6
```
![image](./img/table.png)
### Site Map
```
Home
Download
TextUSM
Help you draw user story map using indented text.
WORK QUICKLY
SAVE TIME
Privacy Policy
Test
Terms
Test
Contacts
harehare1110@gmail.com
```
![image](./img/smp.png)
### Gantt Chart
```
2019-12-26,2020-01-31: title
subtitle1
2019-12-26, 2019-12-31: task1
2019-12-31, 2020-01-04: task2
```
![image](./img/gct.png)
### Impact Map
```
TextUSM
WORK QUICKLY
Draw diagrams without leaving the keyboard.
SAVE TIME
Instantly visualize your ideas.
EXPORT TO IMAGES
Images can be exported as png or svg.
SHARING
Share your diagrams online with your colleagues.
```
![image](./img/imm.png)
### ER Diagram
```
relations
DiagramDetail - Diagram
# One To Many
User < Comment
Diagram < Comment
User < Diagram
User < DiagramUser
Diagram < DiagramUser
tables
Diagram
diagram_id int pk
name varchar(255) not null
type enum(userstorymap,mindmap)
is_bookmark boolean default false
DiagramDetail
diagram_id int pk
is_bookmark boolean default false
is_public boolean default false
Comment
comment_id int pk
comment text not null
diagram_id int not null
user_id int not null
User
user_id int pk
name varchar(255)
DiagramUser
diagram_id int pk
user_id int pk
```
![image](./img/erd.png)
### Kanban
```
TODO
task1
task1
DOING
task2
task2
DONE
task3
task3
```
![image](./img/kanban.png)
### Sequence Diagram
```
participant
object1
object2
object3
object1 -> object2
Sync Message
object1 ->> object2
Async Message
object2 --> object1
Reply Message
o-> object1
Found Message
object1 ->o
Stop Message
loop
loop message
object1 -> object2
Sync Message
object1 ->> object2
Async Message
Par
par message1
object2 -> object3
Sync Message
par message2
object1 -> object2
Sync Message
```
![image](./img/sed.png)
## Installation
## Example JSON configuration file
```json
{
"font": "Nunito Sans",
"showZoomControl": false,
"scale": 1.0,
"size": {
"width": 1024,
"height": 1024
},
"backgroundColor": "#F5F5F6",
"color": {
"activity": {
"color": "#FFFFFF",
"backgroundColor": "#266B9A"
},
"task": {
"color": "#FFFFFF",
"backgroundColor": "#3E9BCD"
},
"story": {
"color": "#000000",
"backgroundColor": "#FFFFFF"
},
"comment": {
"color": "#000000",
"backgroundColor": "#F1B090"
},
"line": "#434343",
"label": "#8C9FAE",
"text": "#111111"
},
"diagramType": "UserStoryMap"
}
```
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
文本USM TextUSM是一个简单的工具。 帮助您使用缩进文本绘制用户故事地图。 特征 从缩进的文本生成图表 用户故事图 商业模式画布 机会画布 用户角色 4Ls回顾 开始,停止,继续追溯 KPT回顾展 思维导图 移情图 桌子 网站地图 甘特图 影响图 ER图 看板 顺序图 自由形式 导出图 SVG PNG 文本 PDF格式 DDL(仅ER图) 降价(仅限表格) 安装 例子 用户故事图 TextUSM Online tool for making user story mapping Press Tab to indent lines Press Shift + Tab to unindent lines: Online tool for Generate a User Story Mapping from indented text.
资源详情
资源评论
资源推荐
收起资源包目录
textusm:在线工具,用于从缩进的文本生成用户故事地图 (255个子文件)
.babelrc 70B
.editorconfig 333B
Settings.elm 88KB
Main.elm 46KB
Diagram.elm 39KB
Views.elm 27KB
List.elm 25KB
ER.elm 23KB
DiagramTests.elm 22KB
Icon.elm 18KB
SequenceDiagram.elm 18KB
GanttChart.elm 16KB
ER.elm 15KB
Item.elm 13KB
Diagram.elm 12KB
SequenceDiagram.elm 11KB
Diagram.elm 11KB
UserStoryMap.elm 11KB
Settings.elm 9KB
Header.elm 9KB
ContextMenu.elm 8KB
Menu.elm 8KB
VSCode.elm 7KB
SiteMap.elm 7KB
DiagramType.elm 6KB
ItemTests.elm 6KB
Action.elm 6KB
Diagram.elm 5KB
Lib.elm 5KB
UserStoryMap.elm 5KB
Share.elm 5KB
MindMap.elm 5KB
DiagramItem.elm 5KB
Help.elm 4KB
Fuzzer.elm 4KB
OpportunityCanvas.elm 4KB
Date.elm 4KB
ImpactMap.elm 4KB
Path.elm 4KB
BusinessModelCanvas.elm 4KB
UserPersona.elm 4KB
Model.elm 4KB
Tags.elm 4KB
Route.elm 4KB
Translations.elm 3KB
Mutation.elm 3KB
Api.elm 3KB
DropDownList.elm 3KB
MiniMap.elm 3KB
ItemSettings.elm 3KB
Mutation.elm 3KB
Kanban.elm 3KB
Color.elm 3KB
InputObject.elm 3KB
Ports.elm 3KB
Query.elm 3KB
Item.elm 3KB
Table.elm 3KB
Table.elm 2KB
New.elm 2KB
Request.elm 2KB
SessionTests.elm 2KB
SplitWindow.elm 2KB
Query.elm 2KB
Events.elm 2KB
Text.elm 2KB
FreeForm.elm 2KB
EmpathyMap.elm 2KB
FourLs.elm 2KB
SwitchWindow.elm 2KB
Asset.elm 2KB
StartStopContinue.elm 2KB
Scalar.elm 2KB
OpportunityCanvas.elm 2KB
Title.elm 2KB
Kpt.elm 2KB
BusinessModelCanvas.elm 2KB
UserPersona.elm 1KB
Session.elm 1KB
Notification.elm 1KB
UserStoryMapTests.elm 1KB
TitleTests.elm 1KB
Constants.elm 1KB
FontSize.elm 1KB
FileType.elm 951B
Kanban.elm 890B
TextTests.elm 818B
Utils.elm 816B
Avatar.elm 807B
UrlShorter.elm 787B
AvatarTests.elm 750B
FontStyleTests.elm 699B
EmpathyMap.elm 692B
StartStopContinue.elm 684B
FourLs.elm 636B
TranslationsTests.elm 628B
FontStyle.elm 626B
NotFound.elm 551B
ScalarCodecs.elm 536B
DiagramTypeTests.elm 494B
共 255 条
- 1
- 2
- 3
WebWitch
- 粉丝: 21
- 资源: 4587
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1