Skip to content

Commit 8401fbb

Browse files
committed
chore: add collections option as well at bottom
1 parent 96c8dad commit 8401fbb

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const pullResources = async () => {
2121
settings: pullSettings,
2222
functions: pullFunctions,
2323
sites: pullSites,
24+
collections: pullCollection,
2425
tables: pullTable,
2526
buckets: pullBucket,
2627
teams: pullTeam,

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,7 @@ const pushResources = async () => {
923923
functions: pushFunction,
924924
sites: pushSite,
925925
collections: pushCollection,
926+
tables: pushTable,
926927
buckets: pushBucket,
927928
teams: pushTeam,
928929
messages: pushMessagingTopic

templates/cli/lib/questions.js.twig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ const questionsPullResources = [
258258
{ name: `Tables ${chalk.blackBright(`(Grids)`)}`, value: 'tables' },
259259
{ name: `Buckets ${chalk.blackBright(`(Storage)`)}`, value: 'buckets' },
260260
{ name: `Teams ${chalk.blackBright(`(Auth)`)}`, value: 'teams' },
261-
{ name: `Topics ${chalk.blackBright(`(Messaging)`)}`, value: 'messages' }
261+
{ name: `Topics ${chalk.blackBright(`(Messaging)`)}`, value: 'messages' },
262+
{ name: `Collections ${chalk.blackBright(`(Database)`)}`, value: 'collections' }
262263
]
263264
}
264265
]
@@ -669,7 +670,8 @@ const questionsPushResources = [
669670
{ name: `Tables ${chalk.blackBright(`(Grids)`)}`, value: 'tables' },
670671
{ name: `Buckets ${chalk.blackBright(`(Storage)`)}`, value: 'buckets' },
671672
{ name: `Teams ${chalk.blackBright(`(Auth)`)}`, value: 'teams' },
672-
{ name: `Topics ${chalk.blackBright(`(Messaging)`)}`, value: 'messages' }
673+
{ name: `Topics ${chalk.blackBright(`(Messaging)`)}`, value: 'messages' },
674+
{ name: `Collections ${chalk.blackBright(`(Database)`)}`, value: 'collections' }
673675
]
674676
}
675677
];

0 commit comments

Comments
 (0)