Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat create resources #848

Merged
merged 48 commits into from
May 30, 2024
Merged

Feat create resources #848

merged 48 commits into from
May 30, 2024

Conversation

byawitz
Copy link
Member

@byawitz byawitz commented May 20, 2024

What does this PR do?

Interactive resources adding.

Already exists

  • Create project
  • Create function

Added

  • Buckets
  • Collections
  • Topics

Test Plan

Tested against Appwrite version 1.5.5

image

# Conflicts:
#	templates/cli/lib/commands/push.js.twig
Comment on lines +261 to +264
await projectsUpdate({
projectId: localConfig.getProject().projectId,
name: localConfig.getProject().projectName,
parseOutput: false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should also push the project settings right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. But pushing is done manually per service and auth

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes them self for pushing are in the other PR


localConfig.setProject(response['$id'], response.name);
} else {
localConfig.setProject(answers.project.id, answers.project.name);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we also get the project settings and set them too?

Copy link
Member

@christyjacob4 christyjacob4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just a question

@christyjacob4 christyjacob4 merged commit 1d0350b into feat-cli-g2 May 30, 2024
35 checks passed
@christyjacob4 christyjacob4 deleted the feat-create-resources branch May 30, 2024 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants