Commit 55f8dc5
committed
feat(cli): add --selected flag to update node command
Fixes issue #16: Decision nodes can now have their selected option set
via the CLI using \`sysprom update node <id> --selected <option-id>\`.
Previously, users had to edit the JSON file directly to set the selected
field on decision nodes. This adds the --selected flag to the update
command, consistent with other node fields.
Closes #161 parent dfe3ad0 commit 55f8dc5
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
| |||
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
| 124 | + | |
120 | 125 | | |
121 | 126 | | |
122 | 127 | | |
| |||
130 | 135 | | |
131 | 136 | | |
132 | 137 | | |
133 | | - | |
| 138 | + | |
134 | 139 | | |
135 | 140 | | |
136 | 141 | | |
| |||
0 commit comments