Repository navigation
Expand file tree
/
Copy pathsequence.drawio
More file actions
79 lines (79 loc) · 6.86 KB
/
Copy pathsequence.drawio
File metadata and controls
79 lines (79 loc) · 6.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="drawio" version="26.0.0">
<diagram id="seqlayout" name="config commands">
<mxGraphModel dx="800" dy="600" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="title" value="gitmate config commands — set-key and show (Phase 0)" style="text;html=1;align=left;verticalAlign=middle;fontStyle=1;fontSize=18;" vertex="1" parent="1">
<mxGeometry x="40" y="4" width="620" height="28" as="geometry"/>
</mxCell>
<mxCell id="dev" value="Developer" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;size=40;" vertex="1" parent="1">
<mxGeometry x="40" y="40" width="100" height="730" as="geometry"/>
</mxCell>
<mxCell id="cli" value="gitmate CLI" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;size=40;" vertex="1" parent="1">
<mxGeometry x="240" y="40" width="100" height="730" as="geometry"/>
</mxCell>
<mxCell id="cfg" value="config.py" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;size=40;" vertex="1" parent="1">
<mxGeometry x="440" y="40" width="100" height="730" as="geometry"/>
</mxCell>
<mxCell id="key" value="OS Keychain" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;size=40;" vertex="1" parent="1">
<mxGeometry x="640" y="40" width="100" height="730" as="geometry"/>
</mxCell>
<mxCell id="act0" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;outlineConnect=0;fillColor=#ffffff;" vertex="1" parent="key">
<mxGeometry x="45" y="210" width="10" height="50" as="geometry"/>
</mxCell>
<mxCell id="act1" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;outlineConnect=0;fillColor=#ffffff;" vertex="1" parent="cli">
<mxGeometry x="45" y="90" width="10" height="280" as="geometry"/>
</mxCell>
<mxCell id="act2" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;outlineConnect=0;fillColor=#ffffff;" vertex="1" parent="cfg">
<mxGeometry x="45" y="470" width="10" height="50" as="geometry"/>
</mxCell>
<mxCell id="act3" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;outlineConnect=0;fillColor=#ffffff;" vertex="1" parent="key">
<mxGeometry x="45" y="570" width="10" height="50" as="geometry"/>
</mxCell>
<mxCell id="act4" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;outlineConnect=0;fillColor=#ffffff;" vertex="1" parent="cli">
<mxGeometry x="45" y="420" width="10" height="250" as="geometry"/>
</mxCell>
<mxCell id="m0" value="config set-key" style="html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;exitX=0.5;exitY=0.1184;entryX=0;entryY=0.0;" edge="1" parent="1" source="dev" target="act1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="m1" value="prompt + confirm (hidden)" style="html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;exitX=1;exitY=0.1786;entryX=1;entryY=0.2857;" edge="1" parent="1" source="act1" target="act1">
<mxGeometry relative="1" as="geometry">
<Array as="points"><mxPoint x="350" y="180"/><mxPoint x="350" y="210"/></Array>
</mxGeometry>
</mxCell>
<mxCell id="m2" value="set_secret(api-key)" style="html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;exitX=1;exitY=0.4286;entryX=0;entryY=0.0;" edge="1" parent="1" source="act1" target="act0">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="m3" value="OK" style="html=1;verticalAlign=bottom;endArrow=open;dashed=1;curved=0;rounded=0;strokeColor=#999999;fontColor=#999999;exitX=0;exitY=1.0;entryX=1;entryY=0.6071;" edge="1" parent="1" source="act0" target="act1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="note4" value="key never written to disk" style="shape=note;whiteSpace=wrap;html=1;size=14;fillColor=#fff2cc;strokeColor=#d6b656;" vertex="1" parent="1">
<mxGeometry x="710" y="330" width="140" height="40" as="geometry"/>
</mxCell>
<mxCell id="m5" value="API key saved" style="html=1;verticalAlign=bottom;endArrow=open;dashed=1;curved=0;rounded=0;strokeColor=#999999;fontColor=#999999;exitX=0;exitY=1.0;entryX=0.5;entryY=0.4868;" edge="1" parent="1" source="act1" target="dev">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="m6" value="config show" style="html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;exitX=0.5;exitY=0.5526;entryX=0;entryY=0.0;" edge="1" parent="1" source="dev" target="act4">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="m7" value="load_config()" style="html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;exitX=1;exitY=0.2;entryX=0;entryY=0.0;" edge="1" parent="1" source="act4" target="act2">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="m8" value="GitmateConfig" style="html=1;verticalAlign=bottom;endArrow=open;dashed=1;curved=0;rounded=0;strokeColor=#999999;fontColor=#999999;exitX=0;exitY=1.0;entryX=1;entryY=0.4;" edge="1" parent="1" source="act2" target="act4">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="m9" value="get_secret(api-key)" style="html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;exitX=1;exitY=0.6;entryX=0;entryY=0.0;" edge="1" parent="1" source="act4" target="act3">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="m10" value="secret | None" style="html=1;verticalAlign=bottom;endArrow=open;dashed=1;curved=0;rounded=0;strokeColor=#999999;fontColor=#999999;exitX=0;exitY=1.0;entryX=1;entryY=0.8;" edge="1" parent="1" source="act3" target="act4">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="m11" value="settings table (no secret)" style="html=1;verticalAlign=bottom;endArrow=open;dashed=1;curved=0;rounded=0;strokeColor=#999999;fontColor=#999999;exitX=0;exitY=1.0;entryX=0.5;entryY=0.8816;" edge="1" parent="1" source="act4" target="dev">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>