Skip to content

feat: add repo commands#69

Open
angeloashmore wants to merge 1 commit intomainfrom
aa/repo-commands
Open

feat: add repo commands#69
angeloashmore wants to merge 1 commit intomainfrom
aa/repo-commands

Conversation

@angeloashmore
Copy link
Member

@angeloashmore angeloashmore commented Mar 25, 2026

Resolves: #16

Description

Re-enable repository management commands (repo create, repo list, repo view, repo set-name, repo set-api-access) so the CLI can manage Prismic repositories against the live APIs.

Checklist

  • A comprehensive Linear ticket, providing sufficient context and details to facilitate the review of the PR, is linked to the PR.
  • If my changes require tests, I added them.
  • If my changes affect backward compatibility, it has been discussed.
  • If my changes require an update to the CONTRIBUTING.md guide, I updated it.

Preview

How to QA 1


Note

Medium Risk
Adds new CLI flows that create repositories and mutate repository settings via live APIs, so failures or incorrect parameters could impact real user projects despite relatively small code changes.

Overview
Adds a new prismic repo command group to the CLI with subcommands to create, list, and view repositories, plus update operations to set a repository’s display name and Content API access level.

Extends API clients to support repository creation/domain-availability checks and reading/updating repository metadata (API access + name), and updates profile parsing to include repository role. E2E tests are expanded to cover the new commands, and test helpers are updated (including repository fetch and simulator URL field naming) to align with current live endpoints.

Written by Cursor Bugbot for commit c72552a. This will update automatically on new commits. Configure here.

Footnotes

  1. Please use these labels when submitting a review:
    ❓ #ask: Ask a question.
    💡 #idea: Suggest an idea.
    ⚠️ #issue: Strongly suggest a change.
    🎉 #nice: Share a compliment.

Re-enable repository management commands: create, list, view, set-name,
and set-api-access. Each command connects to the Prismic APIs for
repository CRUD operations.

Resolves #16

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

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.

Re-enable repository management commands

1 participant