Skip to content

Remove need for --project-id and --org-id in many places#37

Draft
LucDeCaf wants to merge 1 commit intomainfrom
feat/resolve-with-instance-id
Draft

Remove need for --project-id and --org-id in many places#37
LucDeCaf wants to merge 1 commit intomainfrom
feat/resolve-with-instance-id

Conversation

@LucDeCaf
Copy link
Copy Markdown

@LucDeCaf LucDeCaf commented Apr 9, 2026

Using a soon-to-be-introduced path in @powersync/management-client, automatically fetch the project_id and org_id flags when given the instance_id for a number of commands (where it makes sense to do so).

Example

Before:

powersync pull instance --project-id='project-123-456-789' --instance-id='instance-123-456-789'

After:

# Project ID is fetched from the management service if required
powersync pull instance --instance-id='instance-123-456-789'

NB: May change more as the associated changes in @powersync/management-client get closer to releasing. Test failures are expected until the next version of the @powersync/management-client releases.

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.

1 participant