-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.yml
200 lines (175 loc) · 4.54 KB
/
commands.yml
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
plugin list:
description: "list plugin versions"
options:
global:
shortName: "g"
description: "list global plugin versions"
plugin add:
description: "install cpm plugin"
arguments:
plugin:
description: "plugin name"
options:
global:
shortName: "g"
description: "install plugin globally"
plugin remove:
description: "uninstall cpm plugin"
arguments:
plugin:
description: "plugin name"
options:
global:
shortName: "g"
description: "uninstall global plugin"
plugin purge:
description: "uninstall cpm plugin and remove all configuration"
arguments:
plugin:
description: "plugin name"
options:
global:
shortName: "g"
description: "purge global plugin"
plugin configure:
description: "configure cpm plugin"
arguments:
plugin:
description: "plugin name"
options:
global:
shortName: "g"
description: "install plugin globally"
project init:
description: "initialized cpm project"
project list:
description: "list projects for current folder"
project clone:
description: "clone cpm project"
arguments:
url:
description: "url of the repository"
outputs:
org:
description: "organization name extracted from url"
repo:
description: "repo name extracted from url"
path:
description: "locally cloned directory"
project goto:
description: "go to project folder"
arguments:
query:
description: "pattern to search ex: cpm goto cpm"
outputs:
org:
description: "organization name extracted from url"
repo:
description: "repo name extracted from url"
path:
description: "locally cloned directory"
project sync:
description: "sync project"
flow enable:
description: "enable cpm flow"
flow configure:
description: "configure cpm flow"
flow setup:
description: "make repository ready to use cpm flow (every new clone should run this)"
flow checkout:
description: "checkout issue to start development"
options:
taskId:
shortName: "t"
description: "task id to checkout"
flow submit:
description: "create pr for issue for current working issue"
template fill:
description: "read files and prompt user to enter value for placeholder and fill"
options:
file:
description: "file name to fill"
shortName: "f"
valueRequired: true
task list:
description: "list tasks"
options:
assigned:
shortName: "a"
description: "only get tasks assigned to current user"
task select:
description: "select task from list"
options:
assigned:
shortName: "a"
description: "only get tasks assigned to current user"
outputs:
id:
description: "task id"
title:
description: "task title"
status:
description: "task status"
task get:
description: "get task with id"
arguments:
id:
description: "id of the task"
outputs:
id:
description: "task id"
title:
description: "task title"
status:
description: "task status"
task status:
description: "update task status"
arguments:
id:
description: "id of the task"
status:
description: "new status of the task"
repo create:
description: "create git repository in root directory configured in ctx.config.rootDir"
arguments:
org:
description: "organization name"
repo:
description: "repository name"
options:
template:
description: "template repository path"
valueRequired: true
repo clone:
description: "clone git repository to root directory configured in ctx.config.rootDir"
arguments:
url:
description: "url of the git repository"
options:
destination:
shortName: "d"
description: "destination to clone repository"
valueRequired: true
repo checkout:
description: "checkout branch inside git repository. if branch not exist create branch from default branch and update default branch from upstream before creating new branch"
options:
branch:
shortName: "b"
description: "branch name to checkout"
valueRequired: true
repo sync:
description: "synchronize repository current branch with remote"
repo info:
description: "get info of repository"
outputs:
currentBranch:
description: "current branch name"
changesPending:
description: "changes pending"
pr create:
description: "create pull request / merge request (currently only support interactive mode)"
arguments:
head:
description: "head branch name"
base:
description: "base branch name"