Skip to content

chore: remove --project-id and --org-id references in CLI docs#475

Open
LucDeCaf wants to merge 8 commits into
mainfrom
cli-instance-id
Open

chore: remove --project-id and --org-id references in CLI docs#475
LucDeCaf wants to merge 8 commits into
mainfrom
cli-instance-id

Conversation

@LucDeCaf

@LucDeCaf LucDeCaf commented May 27, 2026

Copy link
Copy Markdown
Contributor

This PR in the CLI repo automatically fetches the project and org IDs from the instance ID and converts the project and org ID settings to no-ops (in most cases). The exceptions are powersync link cloud --create, which creates a new instance and thus has no instance ID to pull from, and project/org IDs defined in cli.yaml, which now act as a sort of lazy cache for the CLI to save on repeated getInstance calls.

Note: CLI changes are merged but unreleased, will merge this PR once CLI changes are fully released.

Resolves #498

AI Usage

Claude Code was used to draft the docs changes, which I reviewed and adjusted.

@mintlify

mintlify Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
powersync 🟢 Ready View Preview May 27, 2026, 1:42 PM

@LucDeCaf LucDeCaf marked this pull request as ready for review June 4, 2026 12:48
@LucDeCaf LucDeCaf requested a review from benitav June 4, 2026 12:49
Comment thread tools/cli.mdx Outdated
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.

[Drift] --project-id no longer required alongside --instance-id for most Cloud commands (powersync-cli #38)

2 participants