Skip to content

Add --owner flag for collaborator push and show username in whoami#233

Merged
JannikSt merged 3 commits intomainfrom
feature/collaborator-write-permissions
Dec 3, 2025
Merged

Add --owner flag for collaborator push and show username in whoami#233
JannikSt merged 3 commits intomainfrom
feature/collaborator-write-permissions

Conversation

@JannikSt
Copy link
Copy Markdown
Member

@JannikSt JannikSt commented Dec 3, 2025

  • Add --owner/-o option to env push for collaborators
  • Display username in whoami output

Note

Adds --owner/-o to env push, displays username in whoami, and improves sandbox run command handling with proper quoting and guidance.

  • CLI:
    • Environment Push (packages/prime/src/prime_cli/commands/env.py):
      • Add --owner/-o flag and send owner_slug during resolve (preferred over --team).
    • Sandbox Run (packages/prime/src/prime_cli/commands/sandbox.py):
      • Use shlex.join to preserve argument quoting; enhance help/docs to use -- before command options.
    • Whoami (packages/prime/src/prime_cli/commands/whoami.py):
      • Fetch and display slug as "Username" in the output table.

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

Arguments with spaces (like bash -c "echo hello") are now properly quoted
when passed to the sandbox.
- Add --owner/-o option to env push for collaborators
- Display username in whoami output
@JannikSt JannikSt merged commit 6d7f346 into main Dec 3, 2025
11 checks passed
@JannikSt JannikSt deleted the feature/collaborator-write-permissions branch December 3, 2025 22:24
@JannikSt JannikSt mentioned this pull request Dec 4, 2025
4 tasks
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.

2 participants