Skip to content

Commit 063ac9e

Browse files
committed
refactor(cli): Texts and removing unnecessary options
1 parent 87e88c3 commit 063ac9e

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

templates/cli/lib/commands/pull.js.twig

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -195,40 +195,38 @@ const pull = new Command("pull")
195195

196196
pull
197197
.command("all")
198-
.description("Push all resource.")
199-
.option(`--all`, `Flag to pull all functions`)
200-
.option(`--yes`, `Flag to confirm all warnings`)
198+
.description("Pull all resource.")
201199
.action(actionRunner(pullResources));
202200

203201

204202
pull
205203
.command("project")
206-
.description("Pulling your {{ spec.title|caseUcfirst }} project name, services and auth settings")
204+
.description("Pull your {{ spec.title|caseUcfirst }} project name, services and auth settings")
207205
.action(actionRunner(pullProject));
208206

209207
pull
210208
.command("functions")
211-
.description(`Pulling your {{ spec.title|caseUcfirst }} functions`)
209+
.description(`Pull your {{ spec.title|caseUcfirst }} functions`)
212210
.action(actionRunner(pullFunctions));
213211

214212
pull
215213
.command("collections")
216-
.description("Pulling your {{ spec.title|caseUcfirst }} collections")
214+
.description("Pull your {{ spec.title|caseUcfirst }} collections")
217215
.action(actionRunner(pullCollection))
218216

219217
pull
220218
.command("buckets")
221-
.description("Pulling your {{ spec.title|caseUcfirst }} buckets")
219+
.description("Pull your {{ spec.title|caseUcfirst }} buckets")
222220
.action(actionRunner(pullBucket))
223221

224222
pull
225223
.command("teams")
226-
.description("Pulling your {{ spec.title|caseUcfirst }} teams")
224+
.description("Pull your {{ spec.title|caseUcfirst }} teams")
227225
.action(actionRunner(pullTeam))
228226

229227
pull
230228
.command("topics")
231-
.description("Initialise your Appwrite messaging topics")
229+
.description("Pull your {{ spec.title|caseUcfirst }} messaging topics")
232230
.action(actionRunner(pullMessagingTopic))
233231

234232
module.exports = {

0 commit comments

Comments
 (0)