Skip to content

Commit 2ac1569

Browse files
committed
PR review changes
1 parent 284bc48 commit 2ac1569

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,27 +264,27 @@ pull
264264

265265
pull
266266
.command("collection")
267-
.command("collections")
267+
.alias("collections")
268268
.description("Pulling your {{ spec.title|caseUcfirst }} collections")
269269
.option(`-d, --databaseId <databaseId>`, `Database ID`)
270270
.option(`-a, --all`, `Flag to pullialize all databases`)
271271
.action(actionRunner(pullCollection))
272272

273273
pull
274274
.command("bucket")
275-
.command("buckets")
275+
.alias("buckets")
276276
.description("Pulling your Appwrite buckets")
277277
.action(actionRunner(pullBucket))
278278

279279
pull
280280
.command("team")
281-
.command("teams")
281+
.alias("teams")
282282
.description("Pulling your Appwrite teams")
283283
.action(actionRunner(pullTeam))
284284

285285
pull
286286
.command("topic")
287-
.command("topics")
287+
.alias("topics")
288288
.description("Initialise your Appwrite messaging topics")
289289
.action(actionRunner(pullMessagingTopic))
290290

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,6 @@ const pushMessagingTopic = async ({ all, yes } = {}) => {
11011101
}
11021102

11031103
const push = new Command("push")
1104-
.alias("deploy")
11051104
.description(commandDescriptions['push'])
11061105
.option(`-a, --all`, `Flag to push all resources`)
11071106
.option(`-y, --yes`, `Flag to confirm all warnings`)

0 commit comments

Comments
 (0)