Skip to content

Commit 947e439

Browse files
Merge pull request appwrite#939 from appwrite/fix-cli-fixes
fix(cli): consistent command description
2 parents 521a5a2 + fa945e3 commit 947e439

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -316,33 +316,33 @@ pull
316316
pull
317317
.command("function")
318318
.alias("functions")
319-
.description("Pulling your {{ spec.title|caseUcfirst }} cloud function")
319+
.description("Pull your {{ spec.title|caseUcfirst }} cloud function")
320320
.option("--no-code", "Don't pull the function's code")
321321
.option("--with-variables", `Pull function variables. ${chalk.red('recommend for testing purposes only')}`)
322322
.action(actionRunner(pullFunctions))
323323

324324
pull
325325
.command("collection")
326326
.alias("collections")
327-
.description("Pulling your {{ spec.title|caseUcfirst }} collections")
327+
.description("Pull your {{ spec.title|caseUcfirst }} collections")
328328
.action(actionRunner(pullCollection))
329329

330330
pull
331331
.command("bucket")
332332
.alias("buckets")
333-
.description("Pulling your Appwrite buckets")
333+
.description("Pull your Appwrite buckets")
334334
.action(actionRunner(pullBucket))
335335

336336
pull
337337
.command("team")
338338
.alias("teams")
339-
.description("Pulling your Appwrite teams")
339+
.description("Pull your Appwrite teams")
340340
.action(actionRunner(pullTeam))
341341

342342
pull
343343
.command("topic")
344344
.alias("topics")
345-
.description("Initialise your Appwrite messaging topics")
345+
.description("Pull your Appwrite messaging topics")
346346
.action(actionRunner(pullMessagingTopic))
347347

348348
module.exports = {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1717,9 +1717,9 @@ push
17171717
.action(actionRunner(pushMessagingTopic));
17181718

17191719
const deploy = new Command("deploy")
1720-
.description(commandDescriptions['push'])
1720+
.description('Removed. Use appwrite push instead')
17211721
.action(actionRunner(async () => {
1722-
warn("Did you mean to run 'appwrite push' command?");
1722+
warn("appwrite deploy has been removed. Please use 'appwrite push' instead");
17231723
}));
17241724

17251725
module.exports = {

0 commit comments

Comments
 (0)